Scala 3 support in IntelliJ Scala plugin
We added basic Dotty support in the IntelliJ Scala plugin a long time ago, right after the announcement of Dotty. However, for a long time Dotty has been a dark horse, and aiming at a moving target hadn’t been easy. So it was reasonable to put that task on the back-burner and focus on Scala 2 for a while. Now that Dotty is finally destined to become Scala 3 and the language features are getting more stable, we have started to work on a full-fledged Scala 3 support.
The 2020.1 Scala plugin nightly builds now include preliminary support for Scala 3: the new syntax (by the way, we had to adjust that “given” thing several times already :) ), error highlighting, navigation, type info, and many other bread-and-butter IDE features. Although the functionality is already usable, it is still “in beta” – some bumps here and there are expected. We depend on your feedback to smooth the rough edges and make Scala 3 support as good as Scala 2 one (and possibly even better, because, just as Dotty, we now have a lot of experience to rely on).
Trying the nightly builds is easy:
- Download IntelliJ IDEA 2020.1 EAP (that’s a good opportunity to try the Toolbox App, which allows you to quickly install, update, or rollback IntelliJ IDEA versions; and you may have different versions next to each other).
- Open Settings | Languages | Scala | Updates.
- Select Nightly plugin update channel and press Check for updates (you can always select EAP or Release to revert to a more stable build; alternatively, you can download any Scala plugin build from the Plugin Repository).
If you haven’t yet tried Dotty, now is as good time as ever – clone the Dotty example project and open it in IntelliJ IDEA. Your feedback is very welcome, as always. Feel free to ask any questions in intellij-scala Gitter channel. Report any bugs to YouTrack.
IntelliJ Scala plugin team
IntelliJScala @ Scala Days 2023 Madrid
On September 12 – 14, the Scala Plugin team was in Madrid for the Scala Days conference. JetBrains was a Gold Sponsor for the event and we are very proud of it. We came to Madrid with a booth, merchandise, and a talk about the IntelliJ Scala Plugin. The Scala Plugin has seen a lot of improvements…
IntelliJ Scala Plugin 2023.2 Is Out!
Better Scala 3 Support IntelliJ IDEA 2023.2 brings enhanced Scala 3 support, with a focus on providing a streamlined development experience. Notable improvements include fixes for Scala 3 enum highlighting, navigation to enum definitions, and the correct resolution of enum cases in various contex…
IntelliJ Scala Plugin 2023.1 Is Out!
Improved support for braceless Scala syntax IntelliJ IDEA can now desugar braceless Scala code properly, and it handles refactorings where the “fewer braces” feature is used. It also supports braceless syntax in worksheets and correctly interprets indentation when you move extensions methods up a…
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…