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).
We hope you’ll find all these changes useful. Please share your feedback on our discussion forum and submit found issues directly to the tracker.
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!
Mark T. Kennedy says:
April 9, 2015this post talks about v1.5 but the display in Idea for the Scala plugin shows the verbose (presumably unique over time) full-blown version 1.4.169.1.EAP. this left me momentarily confused until i drilled into the plugin web page and discovered that your v1.5 was my already installed v1.4.169.1.EAP. i think you should list both in blog posts. i get the distinction between a consumer ‘branding’ name and an internal unique-over-time version name. happy to see both. unhappy to have to drill into a series of web pages to figure out if i need/want to update :-).
Donald McLean says:
April 10, 2015So, has the Scala plugin team abandoned nightly builds?
Pavel Fatin says:
April 15, 2015Detailed list of the Scala Collections inspections
Holger says:
April 30, 2015Is it planned or possible to write scala scripts with Intellij that auto resolve the sbt dependency header when using scalas as interpreter? See
http://eed3si9n.com/scripting-with-scala
In other words: Is scalas-style scripting supported by Intellij?
http://www.scala-sbt.org/0.13/docs/Scripts.html
James Moore says:
May 9, 2015I switched to the EAP channel, but when I go to the downloads page it reports that the current available version is 1.4.15, not 1.5. (And not the same thing that Mark mentioned, either, strangely). The “Updated” date is 3/25/15.
afiskon says:
June 1, 2015Thanks for a plugin. You are making a great job!
I would like to ask one question. It seems that Scala Console doesn’t have multi-project ( scala-sbt.org/0.12.2/docs/Getting-Started/Multi-Project.html ) support jet. Are there any plans to add this support?