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)
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: