Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Feature 'hover over variable declaration' does not work #510

Open
Brookg opened this issue Dec 24, 2024 · 0 comments
Open

[BUG] Feature 'hover over variable declaration' does not work #510

Brookg opened this issue Dec 24, 2024 · 0 comments
Labels

Comments

@Brookg
Copy link

Brookg commented Dec 24, 2024

Describe the bug

Feature 'hover over variable declaration' does not work

Environment (please complete the following information):

  • OS: Ubuntu 24.10,Wayland
  • VS Code version 1.96.2
  • Extension version 1.15.5
  • Universal Ctags 5.9.0 (installed by sudo apt install universal-ctags)

Steps to reproduce
Steps to reproduce the behavior:

  1. Open a .v file
  2. Hover on a reg/wire variable, nothing happened

Log

Output -> Verilog

024-12-24 09:20:00.149 [info] mshr-h.veriloghdl is now active.
2024-12-24 09:20:00.149 [info] [ExtensionManager] previousVersion: "0.0.0", currentVersion: "1.15.5"
2024-12-24 09:20:00.149 [info] [ExtensionManager] previousVersion: "1.15.5", currentVersion: "1.15.5"
2024-12-24 09:20:00.149 [info] ctags manager configure
2024-12-24 09:20:00.149 [warning] [LintManager] Invalid linter name: none
2024-12-24 09:20:00.149 [info] mshr-h.veriloghdl activation finished.
2024-12-24 09:20:00.149 [info] [VerilogDocumentSymbolProvider] [VerilogSymbol] Symbols Requested: file:///home/brook/xxx/b_crc_core.v
2024-12-24 09:20:00.149 [info] indexing "/home/brook/xxx/b_crc_core.v"
2024-12-24 09:20:00.149 [info] executing ctags
2024-12-24 09:20:00.149 [info] Executing Command: /usr/bin/ctags -f - --fields=+K --sort=no --excmd=n --fields-SystemVerilog=+{parameter} "/home/brook/xxx/b_crc_core.v"
2024-12-24 09:20:00.149 [info] [VerilogDocumentSymbolProvider] [VerilogSymbol] Symbols Requested: file:///home/brook/xxx/b_crc_core.v
2024-12-24 09:20:00.149 [info] indexing "/home/brook/xxx/b_crc_core.v"
2024-12-24 09:20:00.149 [info] executing ctags
2024-12-24 09:20:00.149 [info] Executing Command: /usr/bin/ctags -f - --fields=+K --sort=no --excmd=n --fields-SystemVerilog=+{parameter} "/home/brook/xxx/b_crc_core.v"
2024-12-24 09:20:00.149 [info] [VerilogDocumentSymbolProvider] [VerilogSymbol] Symbols Requested: file:///home/brook/xxx/b_crc_core.v
2024-12-24 09:20:00.149 [info] indexing "/home/brook/xxx/b_crc_core.v"
2024-12-24 09:20:00.149 [info] executing ctags
2024-12-24 09:20:00.149 [info] Executing Command: /usr/bin/ctags -f - --fields=+K --sort=no --excmd=n --fields-SystemVerilog=+{parameter} "/home/brook/xxx/b_crc_core.v"
2024-12-24 09:20:00.149 [info] building symbols
2024-12-24 09:20:00.149 [info] [VerilogDocumentSymbolProvider] 1 top-level symbols returned
2024-12-24 09:20:00.149 [info] [VerilogDocumentSymbolProvider] 1 top-level symbols returned
2024-12-24 09:20:00.149 [info] [VerilogDocumentSymbolProvider] 1 top-level symbols returned
2024-12-24 09:20:00.419 [info] [VerilogDocumentSymbolProvider] [VerilogSymbol] Symbols Requested: file:///home/brook/xxx/b_crc_core.v
2024-12-24 09:20:00.419 [info] [VerilogDocumentSymbolProvider] 1 top-level symbols returned
2024-12-24 09:20:35.882 [info] [VerilogHoverProvider] Hover requested
2024-12-24 09:20:40.055 [info] [VerilogHoverProvider] Hover requested

Output -> Extension Host

2024-12-24 08:58:00.099 [info] Extension host with pid 5659 started
2024-12-24 08:58:00.107 [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github'
2024-12-24 08:58:00.140 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '*', root cause: vscode.git
2024-12-24 08:58:00.148 [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*'
2024-12-24 08:58:00.192 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*'
2024-12-24 08:58:00.247 [info] Eager extensions activated
2024-12-24 08:58:00.251 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished'
2024-12-24 08:58:00.252 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished'
2024-12-24 08:58:08.656 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage'
2024-12-24 09:19:28.801 [info] ExtensionService#_doActivateExtension vscode.configuration-editing, startup: false, activationEvent: 'onLanguage:jsonc'
2024-12-24 09:19:28.813 [info] ExtensionService#_doActivateExtension vscode.json-language-features, startup: false, activationEvent: 'onLanguage:jsonc'
2024-12-24 09:19:28.857 [info] ExtensionService#_doActivateExtension vscode.typescript-language-features, startup: false, activationEvent: 'onLanguage:jsonc'
2024-12-24 09:20:00.038 [info] ExtensionService#_doActivateExtension mshr-h.veriloghdl, startup: false, activationEvent: 'onLanguage:verilog'
2024-12-24 09:20:35.882 [error] [mshr-h.veriloghdl] provider FAILED
2024-12-24 09:20:35.883 [error] TypeError: Cannot read properties of undefined (reading '0')
	at qf.findSymbol (/home/brook/.vscode/extensions/mshr-h.veriloghdl-1.15.5/dist/main.js:65:73869)
	at K_.provideHover (/home/brook/.vscode/extensions/mshr-h.veriloghdl-1.15.5/dist/main.js:588:7652)
	at hI.provideHover (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:138:129460)
	at file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:138:157680
	at qt.s (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:138:155148)
	at qt.$provideHover (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:138:157668)
	at Dy.S (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:32:115275)
	at Dy.Q (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:32:115055)
	at Dy.M (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:32:114106)
	at Dy.L (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:32:113249)
	at kh.value (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:32:112046)
	at P.B (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:30:746)
	at P.fire (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:30:964)
	at Vn.fire (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:32:9457)
	at kh.value (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:175:13296)
	at P.B (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:30:746)
	at P.fire (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:30:964)
	at Vn.fire (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:32:9457)
	at MessagePortMain.<anonymous> (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:175:11588)
	at MessagePortMain.emit (node:events:518:28)
	at MessagePortMain._internalPort.emit (node:electron/js2c/utility_init:2:2949)
2024-12-24 09:20:40.055 [error] [mshr-h.veriloghdl] provider FAILED
2024-12-24 09:20:40.055 [error] TypeError: Cannot read properties of undefined (reading '0')
	at qf.findSymbol (/home/brook/.vscode/extensions/mshr-h.veriloghdl-1.15.5/dist/main.js:65:73869)
	at K_.provideHover (/home/brook/.vscode/extensions/mshr-h.veriloghdl-1.15.5/dist/main.js:588:7652)
	at hI.provideHover (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:138:129460)
	at file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:138:157680
	at qt.s (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:138:155148)
	at qt.$provideHover (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:138:157668)
	at Dy.S (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:32:115275)
	at Dy.Q (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:32:115055)
	at Dy.M (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:32:114106)
	at Dy.L (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:32:113249)
	at kh.value (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:32:112046)
	at P.B (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:30:746)
	at P.fire (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:30:964)
	at Vn.fire (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:32:9457)
	at kh.value (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:175:13296)
	at P.B (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:30:746)
	at P.fire (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:30:964)
	at Vn.fire (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:32:9457)
	at MessagePortMain.<anonymous> (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:175:11588)
	at MessagePortMain.emit (node:events:518:28)
	at MessagePortMain._internalPort.emit (node:electron/js2c/utility_init:2:2949)

Expected behavior

Tips popup when cursor hover on a variable.

Actual behavior

None.

Additional context

None.

@Brookg Brookg added the bug label Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant