mpeltonen/sbt-idea — Issue #102: Check for Continuations plugin and add it to the compiler plugins pane
Author: miguel-negrao
Created: 2011-11-01 09:44:55+00:00
State: open

When using the continuations plugin by placing this in build.sbt:

autoCompilerPlugins := true

addCompilerPlugin("org.scala-lang.plugins" % "continuations" % "2.9.1")

scalacOptions += "-P:continuations:enable"

The the compiler plugin jar at ~/.ivy2/cache/org.scala-lang.plugins/continuations/jars/continuations-2.9.1.jar should be added to the "Compiler Plugins" pane in “Project Structure” -> “Modules” ->”Scala” and the "Enable Continuations" option should be enabled in "Compiler Options". If this is not done the project will not compile in Intellij IDEA.