IntelliJ IDEA Update

I am using the IntelliJ IDEA 9.0 community. The Scala plugin that I use uses Scala 2.7.6. How to update the plugin for Scala 2.8? Thanks.

+4
source share
1 answer

If you are using the latest IDEA ( 9.0.3 ) and the latest scala plugin for this, this should be easy:

  • You need to download the scala distribution for 2.8 on $SCALA28_HOME
  • To use scala, create a Java module and add a scala facet to it
  • During the add process, you will be asked to create a scala identifier with the installation IDE $SCALA28_HOME , and it will automatically create the scala-library-2.8.0 and scala-compiler-2.8.0 "global" libraries (add the library to your module as a dependency) .

One thing that should be understood is that the scala built-in console (i.e. REPL) only works if you add the compiler as a global library to the module.

+3
source

All Articles