Cannot Navigate to declaration (cmd + click) with IntelliJ + Scala plugin Follow
Cannot Navigate to declaration (cmd + click) with IntelliJ + Scala plugin
Hello,
I have imported a Scala project with IntelliJ and installed the Scala plugin however when I try to cmd + click on a method
It says "Cannot find declaration to go"
I have already tried to Invalidate + restart but I still cannot got to methods.
Note that it works fine when using a Java project for example.
Is there something extra I need to setup ?
Thanks!
Please sign in to leave a comment.
The trick was to mark the "scala" folder as src root
That trick does not work for me. What else i can do?
Thank you for coming back to comment, marking my src/scala folder as "Sources root" also fixed for me.
Best, Chris