Has anyone gotten IntelliJ IDEA to recognize *.scala.xml twirl templates? HTML templates seem to get picked up by the IDE just fine and seem to be the only supported template out of box, but any other type of templates do not get picked up.
Play Framework makes it easy to build web applications with Java & Scala. Play is based on a lightweight, stateless, web-friendly architecture. Built on Akka, Play provides predictable and minimal resource consumption (CPU, memory, threads) for highly-scalable applications.
You then need to import the application into your Workspace with the File/Import/General/Existing project… menu (compile your project first). To debug, start your application with sbt -jvm-debug 9999 run and in Eclipse right-click on the project and select Debug As, Debug Configurations.
I had the same problem and it seems that adding a file association did the trick.
In Intellij IDEA 15 (ultimate edition):
Preferences > Editor > File Types Search "Play 2" and add "*.scala.xml" (expect a long indexing after that)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With