Most of the functionality for this extension comes from ElixirLS: https://github.com/elixir-lsp/elixir-ls
Please file your issue on this repo (vscode-elixir-ls) only if it has something to do with VS Code specifically and would not apply to other IDEs running ElixirLS. Otherwise, file it here: https://github.com/elixir-lsp/elixir-ls/issues
If the language server fails to launch, the problem is most likely in ElixirLS, so please file the issue on that repo.
Most of this can be filled out by running the VSCode command "Elixir: Copy ElixirLS Debug Info". You can run the command by opening the Command Palette in VSCode (by default bound to Ctrl+Shift+P or Cmd+Shift+P on Mac), typing search terms like "elixir copy debug" until the command appears at the top of the list of results, and then hitting Enter. The info will be copied to the clipboard so you can paste it here.
- Elixir & Erlang versions (elixir --version):
- VSCode ElixirLS version:
- Operating System Version:
- Restart your editor (which will restart ElixirLS) sometimes fixes issues
- Stop your editor, remove the entire
.elixir_ls
directory, then restart your editor
Delete this section if not reporting a crash
- Create a new Mix project with
mix new empty
, then open that project with VS Code and open an Elixir file. Is your issue reproducible on the empty project? If not, please publish a repo on Github that does reproduce it. - Check the output log by opening
View > Output
and selecting "ElixirLS" in the dropdown. Please include any output that looks relevant. (If ElixirLS isn't in the dropdown, the server failed to launch.) - Check the developer console by opening
Help > Toggle Developer Tools
and include any errors that look relevant.