Play2 (Java) reverse router - cannot resolve method

My project runs fine, but when using IntelliJ, it can't resolve the methods of the reverse router. i.e. routes.ref.Account.account(1000L)
the "account" method is highlighted in red and it says "cannot resolve method...". Hitting command+B I see that the reverse router gets generated so I can understand how IntelliJ might get confused, but how can I get rid of the red error reporting, it's distracting...

0
1 comment

Currently IDEA uses compiled code for getting method signatures, so it can cause problems in case of changing routes file (if you use reverse routing) and template parameters.

0

Please sign in to leave a comment.