Jul 31 2012
Today we are releasing Milestone 2 of the Scala IDE 2.1.0 for Eclipse, available for both Scala 2.9 and 2.10.0-M7! The highlights of this release are Scala 2.10 support and the Scala IDE ecosystem. Oh, and one more thing: the Scala Worksheet!
Let’s have a quick round at what happened in the past three months.
Scala IDE ecosystem
This is one of the most exciting news of this milestone. The Scala IDE ecosystem was officially launched a few weeks ago, and we are convinced it will be a great place for finding plugins to boost your productivity with Scala. Essentially, the ecosystem is one single update site with Scala-related Eclipse plugins. If you are an Eclipse plugin developer and you want to make your plugin available to a wider audience, contact us!
The ScalaTest plugin was the first plugin to become part of the ecosystem, and the today we release another one, the Scala Worksheet plugin. More plugins are on the way, so stay tuned!
Full Scala 2.10 support
We’ve been following closely the development of Scala 2.10.0, so that we could make sure that the next release of Scala will be supported by the Scala IDE from day-0. Keeping the IDE aligned with Scala development has proven to be challenging, but the investment was worth the price.
With this milestone we already have full support for all 2.10.0 features (value classes, string interpolation, macros and reflection, plus a new pattern matcher, just to name a few!).
If you used the new Scala Debugger, you know it was a bit of a hack: you had to explicitly enable it in the Scala preferences and it used to rely on a launched JDT debug session.
Forget the past, the Scala Debugger is finally a first-class citizen in Eclipse and it will be the default debugger for all your Scala applications from now on.
You can read more about the new Scala Debugger here.
New Refactoring and Source Generators
While in Milestone 1 we welcomed the new Move refactoring, in this milestone we have quite a few new refactoring available in your toolbox: change method signature, extract trait and extract class’ factory.
And that’s not it. Two new source generators are now available: generate hashCode and equals and introduce ProductN trait.
Also, many refactoring tickets have been fixed, particularly related to rename refactoring and organize imports.
We have initial support for find references. We know it’s not production ready, but we need you to test it and file bug reports. It’s a big improvement already!
Scala Test plugin
If you are using ScalaTest in your project, you will definitely love this plugin. The ScalaTest team has been hard at work to provide a full-featured plugin for Scala IDE. More details (and screenshots!) on the project page
Scala worksheet allows experimentation with the Scala language in a new way. A worksheet is a Scala file that is evaluated on save, and the result of each expression is shown in a column to the right of your program. Worksheets are like a REPL session on steroids, and enjoy 1st class editor support: completion, hyperlinking, interactive errors-as-you-type, auto-format, etc.
We fixed 119 tickets since milestone 1 was released! You will notice many improvements in the Scala editor and semantic highlighting (big thanks to our newest contributor, Simon Schäfer!) For a more detailed list of the most important fixes check the changelog
Install it now!
The preferred way to install this release is through the milestone ecosystem. Just point Eclipse to the update site and select the Scala IDE and any additional plugins you want to install.
This milestone is available for both Scala 2.9 and Scala 2.10.0-M7 and it works with Eclipse 3.7 (Indigo). We have experimental support for Eclipse 4.2 (Juno) in a separate update site (toghether with zipped versions of the Scala IDE).
We hope you will enjoy using it and, please, let us know what you think. This is the perfect time to help us with ideas and improvement suggestions, or just contribute them.
We would like to take the opportunity to thank all contributors for the amazing work they have done to make this milestone possible. Special thanks go to Luc Bourlier, Chee Seng Chua, Mirco Dotta, Iulian Dragos, Michael Holzer, Eric Molitor, Martin Odersky, Simon Schäfer, Mirko Stocker and Matt Russell.