Try Faster Scala Compiler in IntelliJ IDEA 13.0.2
The latest update to Scala plugin (v0.30.375) available for IntelliJ IDEA 13.0.2 lets you choose what compiler you want to use: SBT incremental or IntelliJ IDEA.
The latter is actually the new built-in incremental Scala compiler based on IntelliJ IDEA internal byte-code dependency analyzer, that is capable of achieving up to 25% faster compiling speeds by ignoring certain Scala-specific dependencies between source files. We call this the lower precision approach, because we’re sacrificing a little bit of accuracy for more performance.
Here are the benchmarks of how the plugin compiles itself:
The new compiler is now used by default, so you can try it right away and see how faster your code is compiled, and if you need precision more than speed, you can always switch back to SBT.
Note: Sometimes when compilation starts producing unexpected or weird errors it helps to rebuild the project entirely. If it doesn’t though, contact us and we’ll look into the problem.
Performance tips for IntelliJ Scala Plugin
A full-blown IDE is one of the most complicated applications you can find on an average laptop. This is why we – the Scala plugin team at JetBrains – from time to time receive reports that our product lags in certain situations or works slowly in general. In some of these cases we can help, but in o…
Dataflow Analysis for Scala
One of the things IntelliJ IDEA is most famous for is its huge variety of helpful inspections and warnings. They make the lives of programmers significantly easier, frequently showing them errors in logic or style that they wouldn’t have noticed otherwise. Those inspections come in various shapes…
BSP Support for Bazel
The Build Server Protocol (BSP), a protocol initially developed by the Scala Center and JetBrains, enables the easy integration of IDEs and build tools. To give users even more options in the BSP ecosystem, we decided to add support for Bazel. While there is already a Bazel plugin for Intel…
IntelliJ Scala Plugin 2021.2 EAP: Package Search Integration
Package Search is a service developed by JetBrains that supports searching for libraries from multiple repositories such as Maven Central, Google Maven, and others. Since its introduction at the end of 2019, the Package Search plugin has made searching for and managing dependencies for Maven and …