IntelliJ IDEA 13.1 RC2 Ships Nearly Final Java 8 Support
It’s always nice to start the day with a fresh build of IntelliJ IDEA and its fresh-out-of-the-oven features. But that pales in comparison with being the first explorer of final Java 8 support in your favorite IDE!
IntelliJ IDEA 13.1 RC2 is available for download, shipping final improvements for Java 8 support just a few days ahead of its official release.
In addition to overall enhancements in support, IntelliJ IDEA 13.1 comes with a new inspection helping you migrate your code to the new Stream APIs. Here’s a short demo:
As you can see from this demo, the IDE also helps you understand which method is used for your lambda expressions by showing a clickable icon on the gutter.
In case you’d like to apply the corresponding quick-fix to more than one place in your code, you can run this inspection (“foreach loop can be collapsed with stream api”) on the entire project (or another scope) via Analyze → Run inspection by Name.
We hope this coding assistance will help you improve your code and make migration to the new JDK easier.
We’d like also to remind you about an upcoming webinar with Dr. Venkat Subramaniam on functional programming with Java 8, taking place Wednesday, March 26th, at 11:00 AM – 12:00 PM GMT. In this presentation, we will discuss how Java 8 now facilitates a functional style of programming and why we should care about it. Space is limited, so please register now.
Develop with Pleasure!