Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here

intellij-scala

Scala plugin for IntelliJ IDEA

Subscribe to updates I use intellij-scala


Statistics on intellij-scala

Number of watchers on Github 750
Number of open issues 14
Main language Scala
Average time to merge a PR 5 days
Open pull requests 50+
Closed pull requests 42+
Last commit over 1 year ago
Repo Created about 8 years ago
Repo Last Updated over 1 year ago
Size 136 MB
Homepage http://blog.jetbr...
Organization / Authorjetbrains
Contributors49
Page Updated
Do you use intellij-scala? Leave a review!
View open issues (14)
View intellij-scala activity
View on github
Fresh, new opensource launches πŸš€πŸš€πŸš€
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating intellij-scala for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

official JetBrains project TC Build Status Travis Build Status Gitter

Scala Plugin for IntelliJ IDEA

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

General information

Setting up the project

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

  1. Install IntelliJ IDEA 2017.1 or higher with a compatible version of Scala plugin

  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, in order to get artifacts and run configurations for IDEA project, go to the Scala plugin repo directory and run

  $ git checkout .idea
  1. 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
  1. 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.

Tests

To run tests properly, the plugin needs to be packaged. On the sbt shell:

  1. packagePluginCommunity
  2. 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.*

Travis CI

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.

intellij-scala open pull requests (View All Pulls)
  • Idea15.x
  • Sort completion list
  • Java To Scala converter update
  • [Scala->Java]Generate methods for default arguments for constructors
  • A trait is always abstract #SCL-4289 Fixed
  • [Scala->Java]Call-by name params cannot have primitives #SCL-8823 Fixed
  • [Scala->Java]Overriding non-static method from companion object
  • [Scala->Java]Convert type parameters properly #SCL-5852 Fixed
  • Fix broken test
  • Toggle type improvements
  • Pattern annotator improvements
  • [Sort completion list] By scope sorting
  • [Sort completion list] improve completion
  • SCL-9861 Inspection: unnecessary partial function definition
  • New intention to regenerate type annotation for var/val/def
  • Support backtickeds on index level
  • SCL-10351 Inspection: convert null initializer to _
  • SCL-10281: Consistent formatting in the inspection description
  • SCL-9843 Intention: Create Companion Object
  • Wildcard patterns can have type #SCL-10101 Fixed
  • Fix regression with Java array types #SCL-10269
  • Convert to SAM inspection should check arg conformance to function param
  • SAM support for Scala 2.12-M4
  • Auto convert to infix when converting from .equals() to ==
  • Problem with two full Scala.js cross projects
  • SCL-10678 replace match { case true => ??? ; case false => ???} with if
  • Move LINE_COMMENT_AT_FIRST_COLUMN into ScalaCodeStyleSettings
  • Fix problems with modifying ScalaTest options in plugins
  • SCL-10573 Convert anonymous function parameter of foreach call to function value
  • SCL-9579
  • SCL-10420: final modifier is NOT redundant for non-top-level objects
  • Implement feature https://youtrack.jetbrains.com/issue/SCL-10329
  • SCL-10175 - Filtered Option
  • SCL-13264: Improved ammonite resolving logic
  • SCL-9972: Add inspection for typical incorrect usages of Source
  • SCL-9807 Collection inspection, Seq: don’t emulate "map"
  • #SCL-12987 - extension point for def macros on StringContexts
  • SCL-11892 Collection inspection: convert seq.exists(_ => true) to seq.nonEmpty
  • SCL-11891 Collection inspection: convert set.contains to set
  • Fix IfElseToFilteredOptionInspection shortName
  • SCL-8299 Collection inspection: replace if (i < seq.length) Some(seq(i)) else None with seq.lift(i)
  • SCL-9707 Collection inspection: don't use `unzip` to extract a single component
  • SCL-9625 Inspection: Replace Some(a) with Option(a)
  • SCL-8300 Collection inspection: replace seq.length <> n with seq.lengthCompare(n) <> 0
  • Add UnresolvedImplicitParametersInspection
  • SCL-13342: avoid concurrent access to incrementalType.dat file
  • #SCL-8951: Inline refactoring: support inline function with arguments
  • #SCL-13305: Move Refactoring: support moving object members to another
  • SCL-10876: kind-projector polymorphic lambdas
  • SCL-9859, SCL-9860, SCL-12507: unnecessary parentheses in types, patterns and lambda parameters
intellij-scala questions on Stackoverflow (View All Questions)
  • Call Bundled SBT's Commands in IntelliJ Scala Plugin
  • Indentation with IntelliJ Scala and methods
  • IntelliJ scala worksheet: Reduce debug logging
  • IntelliJ Scala configuration issue
  • IntelliJ Scala, evaluate multiple objects in one worksheet
  • Scala not being evaluated on Intellij Scala plugin
  • IntelliJ Scala worksheet - missing arguments for method main in object
  • Intellij Scala- unable to find Scala App
  • Intellij Scala class definition formatting
  • Different results in IntelliJ scala worksheet and console
  • Intellij - scala class with companion object shows as object file?
  • Can't import scala.actors.Actor._ in intellij scala plugin
  • Intellij Scala/Java add resource folder
  • IntelliJ Scala Plugin's case class indentation is absurd
  • How to make IntelliJ Scala plugin run the unit test, or how to teach IntelliJ that a file is a unit test code?
  • IntelliJ Scala REPL not Displaying My Worksheet Code
  • Intellij: Scala - find all pattern matches on a certain class
  • IntelliJ Scala cannot build a simple project (SBT can)
  • How to print out result with Intellij scala console in Mac
  • IntelliJ Scala Swing - cannot resolve symbol 'swing'
  • IntelliJ Scala: Package name doesn't correspond to directories structure
  • java.lang.ClassNotFoundException: org.slf4j.LoggerFactory in Intellij, scala project with playframework
  • Why can't IntelliJ scala plugin pickup my dependencies?
  • intellij scala plugin won't compile after package rename
  • Intellij scala worksheet can't find project classes
  • IntelliJ Scala - Calling a Function's .curried
  • How to switch off Auto Import with IntelliJ/Scala Plugin
  • IntelliJ: Scala code doesn't compile when Play 2.0 plugin is installed
  • How to solve battling Type & Warning popups in Intellij Scala editor
  • IntelliJ scala console, interactive developement
intellij-scala list of languages used
Other projects in Scala