vshaxe icon indicating copy to clipboard operation
vshaxe copied to clipboard

2.25 Go To Definition not working with Haxe 3.4.7

Open BMGMobile opened this issue 3 years ago • 0 comments

Since updating to vshaxe 2.25 I've noticed that go to definition no longer works. Restarting the language server or VSCode does not fix this issue. Downgrading to Haxe 2.24.1 fixes this issue for me.

When using go to definition the Haxe task outputs the following:

[Error - 1:38:17 PM] Request textDocument/definition failed.
  Message: Unhandled method textDocument/definition
  Code: -32601

The workplace symbol feature (# in the command pallet) also does not work and shows this error:

[Error - 1:40:09 PM] Request workspace/symbol failed.
  Message: Unhandled method workspace/symbol
  Code: -32601 

I have also noticed that changing Haxe configurations will result in a full CPU core being used by haxe.exe until the language server is restarted.

Here is my VSCode help/about information:

Version: 1.72.2 (user setup)
Commit: d045a5eda657f4d7b676dedbfa7aab8207f8a075
Date: 2022-10-12T22:15:18.074Z
Electron: 19.0.17
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Windows_NT x64 10.0.19043
Sandboxed: No

BMGMobile avatar Nov 01 '22 17:11 BMGMobile