Search code examples
intellij-ideasbt

SBT + Idea 13 => Cannot resolve symbol


I'm using SBT + Idea 13.1.1 and I have all my SBT file in red:

name := "Transformer"

version := "1.0"

libraryDependencies ++= Seq(
  "com.github.scopt" %% "scopt" % "3.2.0",
  "org.scalatest" % "scalatest_2.10" % "2.1.0" % "test"
)

It's saying

Cannot resolve symbol name/version

But Seq is ok. But it's all good to run the app from SBT cmd or even from Idea directly running the main or scalatests. I know it's not a lot information to troubleshoot but I don't know what to check else. Tell me if you have an idea I'll provide everything.

Cheers


Solution

  • To fix this, remove the folder .idea and reimport the project.

    The root cause remains a mystery...