Name: intellij-scala
Owner: JetBrains
Description: Scala plugin for IntelliJ IDEA
Created: 2011-11-11 14:34:07.0
Updated: 2018-01-15 08:55:47.0
Pushed: 2018-01-17 17:14:08.0
Homepage: http://blog.jetbrains.com/scala/
Size: 138189
Language: Scala
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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 the 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 IntelliJ IDEA 2017.1 or higher with a compatible version of Scala plugin
Fork this repository and clone it to your computer
t 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, in order to get artifacts and run configurations for IDEA project, go to the Scala plugin repo directory and run
t checkout .idea
Open the sbt options (Preferences -> Build, Execution, Deployment -> sbt
)
select Use sbt shell for build and import
in Global sbt settings -> JVM Options -> Maximum heap size
, enter at least 2048
Select the IDEA run configuration and select the Run
or Debug
button to build and start a development version
of IDEA with the Scala plugin.
To run tests properly, the plugin needs to be packaged. On the sbt shell:
packagePluginCommunity
runFastTests
The “fast tests” can take over an hour. To get a quick feedback on project health, run the “typeInference tests”
> testOnly org.jetbrains.plugins.scala.lang.typeInference.*
The project is configured to build and run the typeInference tests with Travis CI, which you can enable in your forks. The full test suite can't currently be run because Travis doesn't allow builds to take that long.