Scala 1.5 EAP: Coding Assistance for Interpolated Strings, New Inspections and Better SBT Support
If you’re using the EAP update channel, you might’ve noticed a new version of the Scala plugin available. In addition to a bunch of bugfixes inside the new update you’ll also find a few nice new features.
Coding assistance for interpolated strings
Interpolated strings is a great feature of the Scala language. Better coding assistance for writing those interpolated strings is a new feature of IntelliJ IDEA. Now it’s possible to quickly turn a string to an interpolated string simply by adding a variable reference. Notice that the IDE will take care of adding brackets:
We hope this additional coding assistance will save you some time.
New inspections for Scala Collections
Inspections help you spot potential problems in your code and find the code that smells. This is why we never stop adding new inspections: this time we’ve added several more that will ensure you treat Scala Collections properly:
SBT project auto-import
The SBT project auto-import (when enabled) has been triggered by any change in your SBT files, even if you just pressed a single keystroke. In our latest update we’ve changed it so the auto-import is now triggered only when your changes are physically saved (usually on frame deactivation).
To give this EAP update a try, just go to Settings (Preferences for OS X) → Languages & Frameworks → Scala → Updates → Plugin update channel, switch the EAP channel, and update the plugin.
Develop with Pleasure!
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 …