-
Notifications
You must be signed in to change notification settings - Fork 215
"Go to definition" does not work with macros #767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Please post a project that reproduces it |
https://github.com/robsonpeixoto/elixir-ls-go-to-definition-bug Open the file https://github.com/robsonpeixoto/elixir-ls-go-to-definition-bug/blob/main/lib/bug.ex and try to I'm using VSCode:
|
I cannot reproduce it when building elixir-ls locally ``` [Info - 2:33:44 PM] Started ElixirLS v0.12.0 [Info - 2:33:44 PM] ElixirLS built with elixir "1.14.2" on OTP "25" [Info - 2:33:44 PM] Running on elixir "1.14.2 (compiled with Erlang/OTP 25)" on OTP "25" ```but I can when I run it in installed plugin
It's a duplicate of #193 |
@lukaszsamson the linked issue mentions that the problem comes from building elixir-ls with an elixir version different from system version. But I have the I downloaded directly from the Relase page here in github, not the VSCode marketplace or whatever. oh but when I look into the version of the LSP: so why is |
So apparently there was a lingering ElixirLS version (installed by Can confirm I can follow macros now. |
Environment
Elixir & Erlang versions (elixir --version):
Erlang/OTP 25 [erts-13.0.3] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit]
Elixir 1.14.1 (compiled with Erlang/OTP 25)
Elixir Language Server version: elixir-ls-14
Operating system: OSX
Editor or IDE name (e.g. Emacs/VSCode): emacs
Editor Plugin/LSP Client name and version: LSP
Current behavior
lsp-find-definition
does not work on macrosExpected behavior
lsp-find-definition
should work on macrosThe text was updated successfully, but these errors were encountered: