From dd3ef2ea0d4926131ed9e197c85070dabb1bdd5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Samson?= Date: Fri, 25 Jul 2025 23:33:21 +0200 Subject: [PATCH] docs: add dev container usage --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 3d38c44..20ef2b2 100644 --- a/README.md +++ b/README.md @@ -120,6 +120,10 @@ Add or edit your `emmet.includedLanguages` to include the new Language ID: See [ElixirLS](https://github.com/elixir-lsp/elixir-ls) for details on the supported Elixir and Erlang versions. +## Using ElixirLS with Dev Containers + +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. + ## Troubleshooting If you run into issues with the extension, try these debugging steps: