-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't work with VS Code Remote Dev Container #66
Comments
@sanjibukai yes, this is the right place to ask about this. Any help tracking down the root cause would be greatly appreciated. Although personally I don't like trying to configure docker I'm not sure when I'll take a look at this. A good first step would be to look at all the changes in this repository compared to the current master of https://github.com/JakeBecker/vscode-elixir-ls Although actually there are some elixir-ls PR's that come to mind and you might want to look into removing:
No it does not |
Also this is a tangentially related issue report: elixir-lsp/elixir-ls#160 |
Thanks for taking the time to answer..
I'm using linux (Manjaro) with everything up-to date (eg. linux 5.5.13, vscode 1.43.2, docker 19.03.8) Edit: |
Well.. I thought that the simplest thing I can do was simply to install bash to begin with.. So in the meantime I'll simply add But would you mind if I ask why you went with a change that added restrictions? NB: Also, I permit myself to ask if this issue can be taken into account in a future version? |
@sanjibukai The problem which The reason it breaks is because asdf does not support asdf only supports: I'm actually a little surprised that |
I did't even know what's asdf (looked now), but I don't have that inside the container and indeed it's not a tool that makes sense within a container. |
@sanjibukai can you test elixir-lsp/elixir-ls#190? It changes the default shell script to launch with |
Having this same issue. Running in a Debian container that has Bash installed, and the extension won't start. I'm fairly new to VSCode. How do I debug situations where an extension doesn't start? Should there be a log somewhere? |
@ndarilek Here are the troubleshooting instructions. Please provide some of the info because it will help in tracking this down: EnvironmentMost of this can be filled out by running the VSCode command (by default bound to Ctrl+Shift+P) "ElixirLS Fork: Copy Debug Info"
Troubleshooting
Crash report templateDelete this section if not reporting a crash
|
@ndarilek you're problem sounds fairly similar to elixir-lsp/elixir-ls#208 perhaps you also have an incomplete Erlang installation? What operating system are you on and how did you install elixir and erlang? @sanjibukai can you try version 0.3.3 https://marketplace.visualstudio.com/items?itemName=JakeBecker.elixir-ls (you might have to uninstall the "fork" version now that the fork is reconciled) |
Yup, that was it. Installing esl-erlang appears to have done it for me
too--at least, the language server is now running in my container,
hasn't fully come up yet.
What does it mean that the forks are reconciled? Which version of this
project should I use if I want continued updates?
Thanks.
|
Never mind, just checked the README. For anyone following along, this is
now the main extension. Great news!
|
Yeah, I still need to take care of elixir-lsp/elixir-ls#212 😅 I'm glad that you got it working smoothly now! I'm going to go ahead and mark this closed from a combination of elixir-lsp/elixir-ls#190 and the fix first reported in elixir-lsp/elixir-ls#208 @sanjibukai if you're still running into issues, please file a new issue :) |
Hello,
I'm not sure if it's the right repo (vs elixir-lsp/elixir-ls) but since it's related to VS Code (with its Remote Dev Container features) I'm asking here.
Simply put, nothing happen with this extension when it's installed on the Remote Dev Container (and that the container is up and running etc.)
To contrast, if I disable (or uninstall) this extension on the container and use back the original one from jakebecker/elixir-ls), everything work out of the box.
Does this extension need something particular to set up and that I'm missing?
For example, the default installation folder when installed on a Dev Container is
~/.vscode-server/extensions
rather than~/.vscode/extensions
. Could it be a problem with an harcoded path?I have VS Code 1.43.2, Elixir 1.10, and this extension as 0.3.2
The text was updated successfully, but these errors were encountered: