ignatov / intellij-erlang

Erlang IDE
https://www.jetbrains.com/help/idea/2018.2/getting-started-with-erlang.html
Other
735 stars 120 forks source link

(Go to definition) on a module name #1039

Open kvakvs opened 3 months ago

kvakvs commented 3 months ago

Cmd+Clicking (Ctrl+Click on other OS) on a module name should jump to -module(modulename) if exists. Currently this only works if project has been imported as Erlang source. It will not work if the project was added manually or opened as a directory. So some initialisation is missing which would be great to have, or a note to the user what could be fixed.

Possible solutions:

  1. Suggest the user to switch their generic module of Intellij project to an Erlang-module
  2. Mark the required search paths and directories automatically upon detecting that an Erlang project is being opened
kvakvs commented 2 weeks ago

This works but sometimes it doesn't TODO: Figure out what's the difference. Search/module paths?