Can I point elixir-lsp to built-in module sources?

Hi! This is something that does work once you’ve done some setup. Jump to definition is only available if you install elixir from source. I believe the steps to follow are roughly something like this:

  1. clone the elixir github repository
  2. Optionally check out a specific tag
  3. run make compile
  4. In the root of your project run asdf local elixir path:/path/to/elixir/ (where the path is the path to the github repo in step 1)
  5. In the root of your project run rm -rf _build .elixir_ls
  6. Open/restart your editor
  7. Wait for the build to complete
4 Likes