elixir command check is invalid
Opened this issue · 5 comments
lukaszsamson commented
It does not take into account asdf/rtx/mise on unix systems
pineman commented
Hi! At least for asdf
, the command check fails for me because process.cwd()
is /
- not my project's folder, where I have .tool-versions
so asdf's elixir
shim will be available. Like in this issue: JakeBecker/vscode-elixir-ls#109
lukaszsamson commented
Exactly, that's the case
Morzaram commented
So, the solution is to do the following? (With whatever versions)
cd ~
asdf local elixir 1.17
asdf local erlang 27
lukaszsamson commented
The real solution would be to modify the check to execute elixir
command on *nix via a shell script that detects and activates asdf/mise similarily to what launch.sh does. Maybe modifying launch.sh to accept a new param and simply exec into elixir
tyoc213 commented