Lukasz Pniewski
Lukasz Pniewski

Reputation: 13

Why does IDEA mark certain parts of Play code red?

I'm pretty new to the Play framework. I've been trying to configure it so I can use it with IntelliJ Ultimate.

I use following:

My problem is all about the fact that i can't make the errors disappear. Below is a simple example. When I create something more complicated (mapping etc.) I get entire blocks of red (also it does not suggest any code for the more complicated code).

What I've tried to fix it: - deleting .idea folder and generating it again - cleaning sbt - generating a Play app from inside activator and also from IntelliJ - re-installing IntelliJ

This is how I create the app from inside IntelliJ

I'm new both to Scala and Play, but I've done some research and I didn't end up with working solution. The same project works on Eclipse, but I would like to stick with IntelliJ.

Upvotes: 1

Views: 448

Answers (1)

Jacek Laskowski
Jacek Laskowski

Reputation: 74679

The Scala plugin 1.2.1 is fairly outdated (given the development stage/pace of the Scala support in IntelliJ IDEA).

As of today, Jan, 29th, you should really be using the latest version of the Scala plugin 1.3.

Scala plugin 1.3

Upvotes: 2

Related Questions