Cannot Navigate to declaration (cmd + click) with IntelliJ + Scala plugin

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!

2 comments

The trick was to mark the "scala" folder as src root

0

That trick does not work for me. What else i can do?

0

Please sign in to leave a comment.