Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Does the Scala Plugin work with Idea?

Is anyone using the Scala Plugin with IntelliJ? I am unable to get the compiler to work and I can't run the console from Idea.

My build.gradle looks similar to this:

apply plugin: 'scala'

ext {
scalaVersion = '2.9.2'
}
//Define common test dependencies
dependencies {
scalaTools "org.scala-lang:scala-compiler:${ext.scalaVersion}"
scalaTools "org.scala-lang:scala-library:${ext.scalaVersion}"

// Libraries needed for scala api
compile "org.scala-lang:scala-library:${ext.scalaVersion}"
}

However, trying to run the console yields: No scala-compiler*.jar found, so it looks like Idea cannot figure out what to do with "scalaTools" and you have to manually set up the compiler and lib jars to actually run Scala.

Is there any documentation on how to get up and running with the Scala plugin in Idea?
2 people have
this question
+1
Reply