IDE support for Elixir scripts

How do you get IDE support (with ElixirLS) with Elixir scripts?

More importantly, how can ElixirLS recognize Mix.install at the top of the scripts.

elixirLS only has some limited support for .exs files. It should provide completions, hover and definitions. Adding diagnostics support is tracked in Compiler diagnostics for .exs files · Issue #89 · elixir-lsp/elixir-ls · GitHub. Mix.install is not recognized - this is tracked in Investigate building and loading deps via Mix.install · Issue #654 · elixir-lsp/elixir-ls · GitHub

1 Like