I have a Scala Play project. I\'m using Play 2.2.1. I downloaded Scala, Play 2 supported and SBT plugins. Everything is OK, but When I call route on Action in the Controller
This is a common problem, it's because IntelliJ needs to be shown where to look for the compiled Scala templates and routes
file. Here's how I fixed it on my IntelliJ 12.1 installation:
target/scala-2.10/classes
target
directory and/or one of its subdirectories out of the Excluded Folders firstroutes
and .scala.html
file as just-another source file, so they won't show as "broken" and auto-complete should work for them.