-
Notifications
You must be signed in to change notification settings - Fork 109
"Go to definition" not working #54
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
None of the maintainers use docker with elixir so it's not fully supported, but if you can provide a reproducible example of the problem (with the necessary setup steps) then I can take a look. |
I'm getting the same issue without docker just on my mac. |
@Korbin73 what docker image are you using? Does it have |
@axelson I'm actually not using docker. However, I just realized that go to definition works if the function is in the same file, but fails if it is in a different module, is this a limitation of go to definition? |
@Korbin73 sorry about that. Go to definition should work for any module in your project. Can you open a new issue and attach any relevant logs? And even better would be if you could provide a reproducible example. @iteron-yasir please let me know if the workaround in #66 (comment) does not work for you and we can investigate further. |
I have the same problem. Maybe the fact that I am using Elixir 1.9 installed from asdf? 🤔 |
@raphaklaus Asdf installations are fully supported and go to definition should work for any module in your project (besides ""Go to definition" does not work within the scope of a Phoenix router"). Can you open a new issue and attach any relevant logs? And even better would be if you could provide a reproducible example. |
In my case I was trying to go to definition in an umbrella project which didn't work but worked as intended in a normal project. |
My system config,
Ubuntu - 18.04
VS Code - 1.43.0
Elixir 1.9.2
I've the docker elixir project and I'm using "bitwalker/alpine-elixir:1.9.2" image.
When I click F12. It's only showing "No definition found". It's not working. When I try Ctrl + Shift + F, I can able to find the function.
The text was updated successfully, but these errors were encountered: