Scala plugin for IntelliJ IDEA
Scala Java Other
Switch branches/tags
v1.2.1 v1.2 v1.1.3 v1.1.2 v1.1.1 v1.1 v1.0 archive/212migrate archive/162.x-adkozlov archive/typeAnnotationRefactorings archive/tests_investigation archive/smartCaches archive/scalasphere archive/scalameta archive/scalaJSDynamic archive/revert-308-patch-1 archive/refactorings archive/injector archive/importAllMembers archive/idea163.x archive/idea163.x-pavelfatin archive/idea163.x-niktrop archive/idea163.x-mutcianm archive/idea163.x-mavenfix archive/idea163.x-lugzan archive/idea163.x-jamesbrain2 archive/idea163.x-jamesbrain archive/idea163.x-feature/sbt-shell archive/idea163.x-alefas archive/idea163.release archive/idea163.release-lugzan archive/idea163.eap-niktrop archive/idea163.eap-mutcianm archive/idea163.eap-lugzan archive/idea163.eap-katejim archive/idea163.eap-justin archive/idea163.eap-jamesbrian archive/idea163.eap-jamesbrain archive/idea163.eap-alefas2 archive/idea163.eap-alefas archive/idea163.eap-adkozlov archive/idea162.x archive/idea162.x-yalyshevant archive/idea162.x-niktrop archive/idea162.x-mutcianm archive/idea162.x-maven-resolver archive/idea162.x-lugzan archive/idea162.x-katejim archive/idea162.x-jamesbrain archive/idea162.x-integration archive/idea162.x-ilinum archive/idea162.x-cleanup archive/idea162.x-cleanup-refactoring archive/idea162.x-alefas archive/idea162.x-adkozlov archive/idea162.release archive/idea162.release.old archive/idea162.eap archive/idea162.eap.old archive/idea162.eap-niktrop archive/idea162.eap-mutcianm archive/idea162.eap-jamesbrain archive/idea162.eap-ilinum archive/idea16.x archive/idea16.release archive/idea16.eap archive/idea15.1.x archive/idea15.1.release archive/idea15.1.eap archive/idea15.x archive/idea15.release archive/idea15.eap archive/idea14.1.release archive/idea14.release archive/getCachedClass archive/dotty archive/dotty-parsers archive/breakpoints-test archive/baseTypes archive/backtickeds archive/akka-support archive/SCL10171 2017.2.2 2017.1.15.49 2017.1.15.48 2017.1.15 2017.1.14 2017.1.10 2017.1.9.28 2017.1.9.18 2017.1.9.11 2017.1.9.8 2017.1.9 2017.1.8.6 2017.1.8 2017.1.6.1 2017.1.6 2017.1.5 2016.3.9 2016.3.8.16
Nothing to show
Permalink
Failed to load latest commit information.
.idea update sbt-structure to 7.0.0-18-gd3edca5. (#SCL-11766, #SCL-11911) f… May 4, 2017
NailgunRunners/src/org/jetbrains/plugins/scala/nailgun Move subprojects' settings into build.sbt Jul 13, 2015
Runners/src/org/jetbrains/plugins/scala Fixed notifier parameter passing to specs2 v3.1+ runner Mar 10, 2017
SDK/yourkitProbes/src creation of dottySdk fixed Mar 3, 2017
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 second part of reducing number of implicit parameters: Apr 27, 2017
jps-plugin Worksheet: In REPL mode throw away nailgun jars that spoil interprete… Apr 4, 2017
macroAnnotations/src/org/jetbrains/plugins/scala/macroAnnotations avoid unnecessary wrapping data in Option and boxed Longs Apr 11, 2017
project metahost: yet another dependency verison fix May 17, 2017
resources fix typo in "sbt.settings.resolvers.mavenUnavaliable" May 17, 2017
scalap Wrap keywords in package name with backtickeds in decompiler. #SCL-11… Jan 31, 2017
src ScalaCompilerSettings: parse compound -Xplugin option, #SCL-12011 fixed May 19, 2017
test ScalaCompilerSettings: parse compound -Xplugin option, #SCL-12011 fixed May 19, 2017
testdata metahost: recompile testdata for 2.12 annotations May 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 Use svg TeamCity build icon May 2, 2017
build.sbt improved API for running shell tasks, allows aggregation of output, r… Mar 9, 2017
buildutils.xml typo in build.sbt fixed, Mar 3, 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
  1. 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.

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

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

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