English 中文(简体)
VScode stops working with ElixirLS plugin, and system freezes. LinuxMint machine
原标题:

Prior Question: How to setpath for system wide use of Elixir and configuring VScode for ElixirLS? Question Updated

I installed Elixir using this tutorial on my Linuxmint machine. https://gist.github.com/emerleite/6d44f64d2a5b6be933c0b533234f1c88

Solved: But I have to each time run at my shell $. .bash_profile to fire up exenv to load the elixir. How to make it system wide or set path so that I can just fire iex without each time calling the at shell $. .bash_profile.

When I open VSCode, with Elixir-Ls https://github.com/JakeBecker/vscode-elixir-ls plugin installed, my system just freezes. And I can t click anything. VSCode shows a pop up message as

"Failed to run "elixir" command ElixirLs will probably fail to launch

" Kindly help how to get ElixirLs working fine for Visual Studio. I even tried with "asdf" but didn t work for Vscode.

问题回答

Setting the environment variables in .bash_profile will only let the path be picked up by the bash shell. If you want all your applications, including VSCode, to see such environment variables, you have to set it in your .profile.

The configuration you did will only work for git bash terminal and not for cmd or powershell.

If you are on Windows, go to this part "~/asdf/installs/elixir//bin". Copy the path and add it to your environment variable...





相关问题
VS Code run selection in terminal creating multiple shells

Running selection/line in terminal (shift + enter) started creating opening two shells. The first shell runs commands to activate the environment and start python. The second shell runs the python ...

从案卷中获取简单明朗戈功能——现在可以提供

如果你想到,在纽瓦特被点击之后,如何把服务器的辅助功能从javascript文档中打上下面的几页。 你们必须利用吉大港山区开发计划的要求,把服务器的侧端点称作终端点。 ......

在《科索沃法典》中是否有办法进行沙尘处理

目前,开始学习基因图像处理,我希望在民主选举学会之外使用这种图像,使之更容易编码,因为在处理民主选举学会时,没有很好地掌握合成物的错误。 I ......

Rust Visual Studio Code code completion not working

I m trying to learn Rust and installed the Rust extension for VSCode. But I m not seeing auto-completions for any syntax. I d like to call .trim() on String but I get no completion for it. I read that ...

热门标签