Skip to content

Commit b8850fc

Browse files
authored
docs: add dev container usage (#493)
1 parent 9312fb2 commit b8850fc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,10 @@ Add or edit your `emmet.includedLanguages` to include the new Language ID:
120120

121121
See [ElixirLS](https://github.com/elixir-lsp/elixir-ls) for details on the supported Elixir and Erlang versions.
122122

123+
## Using ElixirLS with Dev Containers
124+
125+
You can run ElixirLS inside a [VS Code dev container](https://code.visualstudio.com/docs/devcontainers/containers) for a consistent development environment. An example configuration is provided in the [elixir-ls-devcontainer-example](https://github.com/elixir-lsp/elixir-ls-devcontainer-example/blob/main/.devcontainer/Dockerfile) repository. Copy its `.devcontainer` folder into your project (or use it as a starting point), then select **Remote-Containers: Reopen in Container** from the command palette. After the container builds, the extension will run in the container just as it does locally.
126+
123127
## Troubleshooting
124128

125129
If you run into issues with the extension, try these debugging steps:

0 commit comments

Comments
 (0)