Closed Aulk98 closed 1 month ago
I cannot reproduce that. What is your configuration? How did you install the extension?
@lukaszsamson
Elixir 1.17.2 (compiled with Erlang/OTP 27)
Sorry, it's confusing. Are you trying to use the extension or contribute to it? If you aim to contribute then head to https://github.com/elixir-lsp/vscode-elixir-ls?tab=readme-ov-file#contributing Otherwise, it seems elixir command is not accessible in your system PATH.
just for clarification, normally how should we insert path in this setting edit: with or without quates ?
Normally you don't need to pass anything there
yeah, I know but the extension didn't access the .bat file D:\Elixir' is not recognized as an internal or external command, operable program or batch file. by default, it should access the file from C:\Users\%userprofile%.vscode\extensions\jakebecker.elixir-ls-0.23.0\elixir-ls-release and start the LS but in my case it directly sending path to shell which is causing the error so, I tried to set path without quates I got the same error then I tried with quates and it works then the debug session not starting
Do you have spaces in your path / user home directory?
A number of people at work who are using Windows and have spaces in their windows home directory path (or whatever it's called in windows) are reporting similar issues having just updated.
@lukaszsamson I just created PR for this issue, now it is working perfectly fine
Do you have spaces in your path / user home directory?
A number of people at work who are using Windows and have spaces in their windows home directory path (or whatever it's called in windows) are reporting similar issues having just updated.
@paulanthonywilson you mean userprofile, yeah I have spaces in it
@lukaszsamson I hope a solution from @Aulk98 resolves the issues once PR is merged. PLease Let me know once the new version is released, Thanks in advance
https://github.com/elixir-lsp/vscode-elixir-ls/pull/433 is supposedly fixing that but I need to verify it does not break mac and linux. I'll try to release a patch shortly.
@lukaszsamson @wheredoipressnow Hi there is still some issue in LS even after update but it is coming from both vs_code versions 1.91.1 & 1.92.0 here is Error ElixirLS output:
so, can you please fix this issue or way to fix this issue
Edit: I don't know if I am correct or wrong, I think the extension not accessing the path to batch file correctly, in laguageserver override path if I give "path/to/release" it works, but without quotes i get same error