Giter VIP home page Giter VIP logo

Comments (8)

axelson avatar axelson commented on May 29, 2024

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.

from vscode-elixir-ls.

Korbin73 avatar Korbin73 commented on May 29, 2024

I'm getting the same issue without docker just on my mac.
VS code: 1.43.2
Elixir 1.9.2
MacOS: 10.15.4

from vscode-elixir-ls.

axelson avatar axelson commented on May 29, 2024

@Korbin73 what docker image are you using? Does it have bash? If not try installing it. That worked for another user over at #66 (comment)

from vscode-elixir-ls.

Korbin73 avatar Korbin73 commented on May 29, 2024

@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?

from vscode-elixir-ls.

axelson avatar axelson commented on May 29, 2024

@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.

from vscode-elixir-ls.

raphaklaus avatar raphaklaus commented on May 29, 2024

I have the same problem. Maybe the fact that I am using Elixir 1.9 installed from asdf? 🤔

from vscode-elixir-ls.

axelson avatar axelson commented on May 29, 2024

@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.

from vscode-elixir-ls.

Korbin73 avatar Korbin73 commented on May 29, 2024

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.

from vscode-elixir-ls.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.