Reputation: 12827
I started using the Play Framework a couple weeks ago. Everything works quite fine, I can compile, use autocompletion in Java files and SBT is running ok,
But one thing that bugs me out is that I have no coloration nor completion in the routes, and scala.html files.
I thought this was normal, but this morning I saw this page where the templates are clearly completion supported.
For me, only simple HTML tags are colored. I checked the requirements page, and I do have the scala plugin installed. I tried to uninstall/reinstall without success.
I use Play 2.4.4 and IntelliJ community edition 14.1.4. I looked for a solution on the internet, but nothing so far.
Anything I could have missed? I seems like everything should just work from the Play page and intellij websites. . . I have been using eclipse before, so my IntelliJ installation is pretty clean.
Thanks!
Upvotes: 0
Views: 62
Reputation: 17587
Both of your links about using the Play Framework with IntelliJ seem to miss the point that you need the Ultimate Edition of IntelliJ in order to get the full support. See the comparison Matrix where Play support (for version 1.x and 2.x) is listed as "Supported only in Ultimate Edition": IntelliJ IDEA Editions Comparison.
The current support, which you've noticed, is plain Java and as it seems XML, since HTML is also an "Ultimate Feature".
You may want to try the free 30-day trial of the Ultimate Edition to see if it works for you - including the Play support - and if it's worth buying it.
Upvotes: 1