Today we are releasing Milestone 3 of the Scala IDE V2.1.0, available for both Scala 2.9 and 2.10.0-RC5. The highlights of this release are an improved Scala Debugger, JUnit4 support, better relevance metrics in code completion, and several stability improvements for mark occurrences and semantic highlighting.
Let’s have a quick round at what happened in the past four months.
While debugging, have you ever tried to step over a map
or foreach
call on a
collection class? Sure you have! And, didn’t you find it annoying that the existing Java
debugger would not actually step inside the closure passed in argument?
Or, have you ever needed to look at the content of a Scala List
in the debugger view?
Then you know that to check its content you need to manually unfold the list.
Sounds like something a debugger should do for you.
The Scala Debugger has gone through some heavy restyling, and we believe it is now ready to be adopted as the default debugger; make sure to use it every time you are chasing down a bug. Since last milestone we have improved it in many ways, and we kept on adding new features. For instance, we now have support for remote debugging, enabling/disabling breakpoints during execution, step filters for Scala specific features (yes, the Scala Debugger knows it’s debugging Scala code!) and much more.
Keep reading here to find out about the supported features and how to make it the default debugger for all your Scala projects.
Many of you have been asking for better JUnit4 support; we heard you. With this milestone
we ship a completely re-written module to fully support automatic lookup and execution of
both your Scala and Java JUnit4 tests. Right click on a project, package or source, and
run your tests via the Scala JUnit Test
runner.
You can read more about the Scala JUnit4 runner here
We have also found the time to squeeze in some great enhancement:
Code completion proposals are now sorted according to their distance, i.e., local definitions (local variables, local methods) are shown at the top.
A brand new Quick Fix for automatically correcting your code when a type missmatch error
occurs. For instance, if a method expects an Option[T]
to be returned, and your
implementation currently returns a value of type T
, you will get a suggestion to
wrap the returned value in an Option.apply
.
We have been fixing over 90 tickets since milestone 2 was released. You will notice many stability improvements affecting the Scala editor, semantic highlighting and update occurrences. You want to know all the glory details? Have a read at the changelog.
The preferred way to install this release is through one of the milestone update-site.
This milestone is available for both Scala 2.9 and Scala 2.10.0-RC5 and it works with Eclipse 3.7 (Indigo) and Eclipse 4.2 (Juno). Make sure to use the update-site that matches the Eclipse version you are using, or the Scala IDE plugin will refuse to install.
Furthermore, each update-site contains a number of additional plugins that you can install together with the Scala IDE: the ScalaTest Eclipse plugin and the Scala worksheet are already available!
If you are using the Typesafe Scala IDE, you can install this new
Milestone 3 release by simply clicking on Help > Check for Updates
.
What’s left to make this a final? Not much to be honest, we are confident this milestone release will make many of you happy. But, before making it a final, we still need to work on improving performances in both the Scala Debugger and the Scala Editor. This will be our focus for the next month: we plan to enter RC mode in early February.
Don’t miss the chance to give this milestone a spin, this is the perfect time to report back issues, if you want to see them fixed in time for the final release.
We are happy to announce Simon Schäfer as the latest addition to the Scala IDE Team. Simon joined the project just about six months ago, and we have been simply amazed by the high-quality contributions and his great positive attitude.
Simon is a computer science student in Germany, at the Karlsruhe Institute of Technology, currently carrying out his 3rd semester bachelor. His main interest is compiler construction, and he started to contribute on the Scala IDE to gain experience on that topic.
Wonder how he spends his free time?
Hmmm, programming? Scala is so much fun, there is no need to have another hobby. Ok, I’m doing some martial arts, but that often feels to be harder work than working for the Scala IDE. ;)
Simon, we are really glad to have you on the team.
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, Ivan Kuraj, Michael Holzer, Eric Molitor, Simon Schäfer, Amir Shaikhha, Mirko Stocker, Matt Russell and Eugene Vigdorchik.