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'
scalaVersion = '2.9.2'
//Define common test dependencies
// Libraries needed for scala api
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?
Help get this topic noticed by sharing it on Twitter, Facebook, or email.
@Benjamin: Thanks for the tip. I checked it out and it seems to do the trick once I re-create the project from the .iml file.
@Adam IDEA gradle integration (JetGradle) in version 11 does not support Scala facet integration (that's why I made idea-scala gradle plugin in the first place). Besides that I found that JetGradle does a lot of unnecessary syncing of dependencies, which slows IDEA down, so for medium/large projects generating .iml/.ipr files works way better. Hopefully JetGradle will be improved in IntelliJ 12.
I have been using gradle+IDEA for quite a few scala projects, including Play 2 projects without writing a single line SBT script, without any trouble. You can find some samples of Play2 projects on [my github page](https://github.com/rodionmoiseev "Github - Rodion Moiseev").
Improvement suggestions are always welcome!