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

Incorrect highlighting/go to symbol (indexing issue?) possibly after update #259

Open
DavidLyhedDanielsson opened this issue Oct 13, 2023 · 0 comments

Comments

@DavidLyhedDanielsson
Copy link

I think this occurred after updating VSCode to 1.83.0. It seems like the opened document is not indexed correctly as variable highlighting lights up random places in the code and hovering some symbol gives me info about some entirely other symbol.

I'm getting this output from the extension host over and over:

2023-10-13 09:59:30.782 [error] [TimGJones.hlsltools] provider FAILED
2023-10-13 09:59:30.782 [error] TypeError: Cannot read properties of null (reading 'kind')
    at asHoverContent (c:\Users\david\.vscode\extensions\timgjones.hlsltools-1.1.303\node_modules\vscode-languageclient\lib\protocolConverter.js:130:27)
    at asHover (c:\Users\david\.vscode\extensions\timgjones.hlsltools-1.1.303\node_modules\vscode-languageclient\lib\protocolConverter.js:163:31)
    at h.provideHover (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:127:40339)
2023-10-13 09:59:31.547 [error] [TimGJones.hlsltools] provider FAILED
2023-10-13 09:59:31.547 [error] TypeError: Cannot read properties of null (reading 'kind')
    at asHoverContent (c:\Users\david\.vscode\extensions\timgjones.hlsltools-1.1.303\node_modules\vscode-languageclient\lib\protocolConverter.js:130:27)
    at asHover (c:\Users\david\.vscode\extensions\timgjones.hlsltools-1.1.303\node_modules\vscode-languageclient\lib\protocolConverter.js:163:31)
    at h.provideHover (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:127:40339)
2023-10-13 09:59:32.356 [error] [TimGJones.hlsltools] provider FAILED
2023-10-13 09:59:32.357 [error] TypeError: Cannot read properties of null (reading 'kind')
    at asHoverContent (c:\Users\david\.vscode\extensions\timgjones.hlsltools-1.1.303\node_modules\vscode-languageclient\lib\protocolConverter.js:130:27)
    at asHover (c:\Users\david\.vscode\extensions\timgjones.hlsltools-1.1.303\node_modules\vscode-languageclient\lib\protocolConverter.js:163:31)
    at h.provideHover (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:127:40339)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant