Scala plugin for IntelliJ IDEA
Scala Java Other
Permalink
Failed to load latest commit information.
.idea updated development version of sbt-structure Feb 16, 2017
NailgunRunners/src/org/jetbrains/plugins/scala/nailgun Move subprojects' settings into build.sbt Jul 13, 2015
Runners/src/org/jetbrains/plugins/scala #SCL-4867 fixed Jan 25, 2017
SDK move attach sources plugin to main sources Oct 13, 2016
ScalaRunner Added type annotations. Scala compilation time decreased for 17%. Jun 29, 2016
compiler-settings/src/org/jetbrains metahost: remove companion object during expansion if necessary Nov 14, 2016
jmhBenchmarks new additional libraries Feb 3, 2017
jps-plugin compilation shouldn't fail on a module without output directory Feb 9, 2017
macroAnnotations/src/org/jetbrains/plugins/scala/macroAnnotations macro annotations simplified and inlined: Feb 3, 2017
project Akka library dependency added Feb 25, 2017
resources DottyLibraryType removed (tests fix) Feb 25, 2017
scalap Wrap keywords in package name with backtickeds in decompiler. #SCL-11… Jan 31, 2017
src DottyComponents abstraction removed Feb 25, 2017
test ScalaVersion should be registered implicitly Feb 25, 2017
testdata ScalaJs tests cleanup Feb 17, 2017
.gitattributes .gitattributes Mar 22, 2013
.gitignore Necessary .class files removed from .gitignore (Namely .class MacroPr… Nov 12, 2015
CONTRIBUTING.mkdn link to the help article about PSI Viewer added Apr 6, 2016
LICENSE.txt Updated License.txt Mar 2, 2016
README.mkdn Added rudimentary build steps to readme. Jan 23, 2017
build.sbt Basic support for integrated sbt shell and delegating build tasks dir… Dec 16, 2016
buildutils.xml Revert "buildutils.xml contained only renaming tasks that are now han… Jan 30, 2017
sbt-version sbt 0.13.12 awareness Jul 18, 2016
scala.properties scala.properties: point to the Leda SDK Sep 19, 2012

README.mkdn

Build Status Gitter

Scala Plugin for IntelliJ IDEA

Plugin that implements Scala, SBT, Play 2, SSP and Hocon support in IntelliJ IDEA.

General information

Developing Scala plugin

In order to take part in Scala plugin development, you need to:

  1. 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
  2. Fork this repository and clone it to your computer

    $ git clone https://github.com/JetBrains/intellij-scala.git
    
  3. 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.

  4. 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.

  5. 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

  6. There are multiple build configurations and corresponding SBT tasks. The easiest path to get started (and what you probably want regardless) is sbt runFastTests; for development purposes, a good proxy for the overall health of your local copy is the TypeInferenceTest build configuration, which you've installed in step 4.