Search code examples
intellij-ideaerlangintellij-14erlang-otp

IntelliJ Erlang "Cannot find declaration to go to"


Setup:

IntelliJ IDEA 2022.2.2
Erlang plugin 0.11.1144
SDK: Erlang OTP 25, erts-13.0
Project Imported: https://github.com/FlowForwarding/enetconf

When I mouse over some variables, I get the message "Cannot find declaration to go to". As a result, I am unable to do a code walk-through. Please help me in resolving the issue.

enter image description here

enter image description here


Solution

  • The issue got resolved after configuring Content roots as explained in https://www.jetbrains.com/help/idea/content-roots.html. The ContentRoot looked as follows.

    ContentRoot