Closed arcman7 closed 2 years ago
same for me
[Error - 12:48:52 PM] Request textDocument/documentSymbol failed.
Message: [Errno::ENOENT] No such file or directory @ dir_chdir -
Code: -32603
[Error - 12:48:52 PM] Request textDocument/hover failed.
Message: [Errno::ENOENT] No such file or directory @ dir_chdir -
Code: -32603
BigSur 11.4
solar v0.23.0 vscode Version: 1.57.0
Just to expand on what @mikekytyzov is saying: Here is Log (Extension Host) error corresponding to the above Ruby Language Server error.
[2021-06-11 11:48:24.654] [exthost] [error] [castwide.solargraph] provider FAILED
[2021-06-11 11:48:24.654] [exthost] [error] Error: [Errno::ENOENT] No such file or directory @ dir_chdir -
at handleResponse (~/.vscode/extensions/castwide.solargraph-0.23.0/node_modules/vscode-jsonrpc/lib/common/connection.js:477:48)
at processMessageQueue (~/.vscode/extensions/castwide.solargraph-0.23.0/node_modules/vscode-jsonrpc/lib/common/connection.js:292:17)
at Immediate.<anonymous> (~/.vscode/extensions/castwide.solargraph-0.23.0/node_modules/vscode-jsonrpc/lib/common/connection.js:276:13)
at processImmediate (internal/timers.js:461:21)
Gem version 0.42.1 should fix this error.
Yep, 0.42.1 is working just fine for me now. Thanks @castwide, much appreciated indeed!
@castwide thanks, 0.42.1 is okay :)
Sweet, gonna try this again!
Error - 8:27:20 PM] Request textDocument/documentSymbol failed. Message: [Solargraph::FileNotFoundError] Host could not find file:/
Ref
That's what I'm doing now.
I installed this vs code extension and this has started happening every time I open a ruby file, but also when I try look up definitions from a ruby file.
Operating system
mac OS Big Sur
Visual Studio Code
Version: 1.55.1 (Universal) Commit: 08a217c4d27a02a5bcde898fd7981bda5b49391b Date: 2021-04-07T18:22:52.186Z (1 wk ago) Electron: 11.3.0 Chrome: 87.0.4280.141 Node.js: 12.18.3 V8: 8.7.220.31-electron.0 OS: Darwin x64 20.3.0