question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Doesn't work with VS Code Remote Dev Container

See original GitHub 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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
axelsoncommented, Apr 5, 2020

Also this is a tangentially related issue report: https://github.com/elixir-lsp/elixir-ls/issues/160

1reaction
axelsoncommented, Apr 5, 2020

@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 Since there’s been much less changes in this repository as compared to elixir-ls and elixir_sense if one of the changes did affect the Remote Dev Container support it should be feasible to track down. Also, what operating system are you running? I wonder if this problem affects certain operating systems more.

Although actually there are some elixir-ls PR’s that come to mind and you might want to look into removing:

Does this extension need something particular to set up and that I’m missing?

No it does not

Read more comments on GitHub >

github_iconTop Results From Across the Web

Developing inside a Container - Visual Studio Code
The Visual Studio Code Dev Containers extension lets you use a Docker container as a full-featured development environment. It allows you to open...
Read more >
Newest version fails to open existing dev container #6541
So it seems that it only works when I use Remote-Containers: Reopen in container in a recovery container. But if I open the...
Read more >
Remote-Containers VS Code extension doesn't recognize ...
I can connect to the instance with VS Code via ssh and open the repository remotely. There is a dev container image on...
Read more >
How To Get Started with VS Code Development containers
Open VS Code and navigate to the Extensions item in the sidebar. Next, search for “remote containers”: Click on “Remote - Containers” and...
Read more >
Your Open Source Project Needs a devcontainer - Here's Why
Have the wrong version of dotnet and you might not be able to compile. ... A devcontainer is used by the VS Code...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found