I am trying to get play framework to work properly in IntelliJ but it seems like my Scala templates aren´t detected properly. These are the steps I have done:
Setup:
- Brew install play
- Brew install sbt
- Download and install play Framework plugin for IntelliJ
- Download and install Scala plugin for IntelliJ
- Download and install SBT plugin for IntelliJ
From Terminal i run this (in the following order):
- play new doTest
- play clean compile
- play idea
- sbt
- gen-idea
In IntelliJ I open the project and check the file target/scala-2.10/src_managed/main/controllers/routes and it looks like this:
I have also tried following these instructions step by step to set up a completely fresh installation:
How to use intellij with play framework
And after completing all steps, IntelliJ is still unable to resolve the Scala templates. This is from a completely fresh play application:
I can compile, run tests from the IDE and watch changes I have made in the browser. The only thing that isn´t working is the code assistance within IntelliJ. I have no idea how to proceed at this point, any help is greatly appreciated!