I am having the hardest time getting a fresh install of IntelliJ to work properly with Scala.
I've installed IntelliJ IDEA 13.1.4 and the Scala plugin on a Mac. In any project, the IDE complains it cannot find scala.concurrent (or any other package in scala-library) even though the library is listed under "External Libraries". What am I missing?
I've got the basic steps to reproduce down to:
- Install IntelliJ IDEA 13.1.4
- Install Scala plugin via IntelliJ plugins dialog
- Create a new Scala project (either SBT or non-SBT, doesn't matter)
- Define a new class and try to import scala.concurrent._
This happens with new or existing projects - even when provisioned via sbt gen-idea
.
I've installed Scala and SBT via brew and even tried setting $SCALA_HOME to point to the brew install of scala (/usr/local/share/scala
).
IntelliJ is listing the library in External Libraries but still can't resolve the symbol.
I have been fighting with this for hours. What am I missing here?