Plugin that implements Scala, SBT, Play 2, SSP and Hocon support in IntelliJ IDEA.
-
To get information about how to install and use this plugin in IDEA, please use IntelliJ IDEA online help.
-
If you have any question about Scala plugin, we'd be glad to answer it in our developer community.
-
If you found a bug, please report it on our issue tracker.
-
If you want to contribute, please see our intro to the Scala plugin internals.
In order to take part in Scala plugin development, you need to:
-
Install the following software:
- SBT 0.13.5 or higher
- IntelliJ IDEA 14 or higher with compatible version of Scala plugin and ant support enabled
-
Fork this repository and clone it to your computer
$ git clone https://github.com/JetBrains/intellij-scala.git
-
Open IntelliJ IDEA, select
File -> New -> Project from existing sources
, point to the directory where Scala plugin repository is and then import it as SBT project. -
When importing is finished, go to Scala plugin repo directory and run
$ git checkout .idea
in order to get artifacts and run configurations for IDEA project.
- To build Scala plugin you need to give at least 2GB of the heap size to the compiler process.
-
if you use Scala Compile Server (default):
Settings > Languages & Frameworks > Scala Compile Server > JVM maximum heap size
-
if Scala Compile Server is disabled:
Settings > Build, Execution, Deployment > Compiler > Build process heap size
-