Reputation: 3126
After a 2 year pause I resumed work with PlayFramework. So I created a new Play Scala project via Intellij IDEA. But the result was strange:
build.sbt
is highlighted in redbuild.gradle
O_oSo the question is: why content of the build.sbt
is underlined in red?
Upvotes: 11
Views: 6139
Reputation: 1
Make sure that build.sbt
(actually any files named *.sbt
) are in the project’s base directory. I unknowingly moved mine to the target directory once. It was very hard to see given that build.sbt
is normally displayed right below the target directory. Everything goes red, but everything still works like it did when build.sbt
started where it was supposed to be.
Upvotes: 0
Reputation: 181
That's a known issue which will be fixed shortly. As a work-around, please close the project and re-import it. https://youtrack.jetbrains.com/issue/SCL-13283
Upvotes: 5