With IntelliJ IDEA 13.1 RC2, now you can add breakpoints to your Nashorn scripts and go through them when debugging your Java application. Let’s see how it works on a simple example. Here we have an application which loads a Java interface implementation from in a Nashorn script. The interface has a “sayHello” method with a single String parameter and returning a String.
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.
As you may remember, we’ve already blogged about the coding assistance for Java 8 (in v12 and v13). Now let’s see what new exciting features v13.1 can offer.
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:
We have two exciting pieces of news for you today.
First of all, IntelliJ IDEA 13.1 RC is now available for download, so you can try all the new features right away. By the way, this is the last chance to share your feedback before the release.
Second and probably more important (as you may have already guessed from the title), is that IntelliJ IDEA 13.1 introduces Sublime style multiple selections, the top voted editor feature in our tracker!
Here is how they work:
- Add/remove a selection: Alt + Shift + Mouse Click
- Select/unselect the next occurrence: Alt + J / Shift + Alt + J (Ctrl + G / Shift + Ctrl + G) for Mac OS X)
- Select all occurrences: Shift + Ctrl + Alt + J (Ctrl + Cmd + G for Mac OS X)
- Clone caret above/below (the shortcuts are not mapped yet)
- Remove all selections: Esc
Multiple selections work nicely together with IntelliJ IDEA features like Code completion, Select word at caret, Join lines, Copy/paste, and the others. Here’s a little demo:
As cool as it is to use now, this feature still has a long way to go: its implementation remains to be refined, and some limitations need to be dealt with. So we would really appreciate your feedback about it. Share your thoughts in our discussion forum and submit bug reports to the issue tracker. Thanks!
Spread the word, and develop with pleasure!
In case you haven’t noticed, yesterday we released IntelliJ IDEA 133.1081, which, in case nothing goes wrong, will become IntelliJ IDEA 13.0.3.
The complete list of bugfixes can be found in Release Notes.
Feel free to share your feedback on our discussion forum or submit bug reports directly to the tracker.
Develop with Pleasure!
Join us Wednesday, March 26th, 11:00 AM – 12:00 PM GMT (7:00 AM – 8:00 AM EDT) for our webinar, Functional Programming with Java 8, featuring Dr. Venkat Subramaniam.
With the release of Java 8, the biggest change is going to be in the programmers mind. In addition to the new syntax for lambda expressions and method references, a significant paradigm shift awaits us.
In this presentation, we will discuss how Java 8 now facilitates a functional style of programming and why we should care about it. Using multiple examples, during this live coding session, we will explore the strengths and benefits of the new Java 8 language features.
Space is limited, please register now.
About the Presenter:
Dr. Venkat Subramaniam is an award-winning author, founder of Agile Developer, Inc., and an instructional professor at the University of Houston. He has trained and mentored thousands of software developers in the US, Canada, Europe, and Asia, and is a regularly-invited speaker at several international conferences. Venkat helps his clients effectively apply and succeed with agile practices on their software projects.
Venkat is a (co)author of multiple books, including the 2007 Jolt Productivity award winning book Practices of an Agile Developer. His latest book is Functional Programming in Java: Harnessing the Power of Java 8 Lambda Expressions. You can reach him by email at firstname.lastname@example.org or on Twitter at @venkat_s.
Today we have released IntelliJ IDEA 13.1 EAP 134.1445, the latest preview build for the upcoming 13.1 update. The complete list of what this build has to offer available in Release Notes.
Spring is knocking on the doors and soon you might not have that much time to share your feedback, so hurry up and do it now by visiting discussion forum or issue tracker.
Develop with Pleasure!
Posted in EAP Releases
In the past couple of months we’ve been talking a lot about what new features users can find in IntelliJ IDEA 13. Today we’d like to take a break from that and speak a little bit about what it brings to the plugin authors, so this post will give you an overview of notable changes in the Plugin DevKit. Everything marked with (13.1) is already available in the freshly released IntelliJ IDEA 13.1 EAP.
It’s faster and has new code highlighting and inspection features. For example, you can now see the usages of deprecated extension points:
Code completion, usage search, navigation, and refactorings are supported for message resource bundles and keys:
A lot of people tend to think these days completion is a regular feature for every IDE. Well, that is not exactly the case. IntelliJ IDEA has already demonstrated that there is no such thing as a regular feature.
Take code completion, for example. IntelliJ IDEA never stops evolving in this area, and to prove it once more, today we are proud to introduce Postfix code completion, a new kind of completion which will hopefully extend your productivity even more.
Postfix code completion helps reduce backward caret jumps as you write code. It lets you transform an already typed expression to another one based on the postfix you added, the type of expression and its context. For example, the “.if” postfix applied to a boolean expression wraps it with an if statement. Likewise the ”.notnull” triggers a surround template checking the expression for the null value.
Exciting news! The upcoming IntelliJ IDEA 13.1 will bring you integration with Chronon Debugger (via this plugin). You can try it right away with the latest preview build. In case you’re wondering, Chronon is a new revolutionary tool keeping track of running Java programs and recording their execution process for later analysis, which can be helpful when you need to thoroughly retrace your steps when dealing with complicated bugs.
Chronon is a commercial tool and normally you would need to buy a license to use it, but the awesome news for you is that it’s completely free to use with IntelliJ IDEA 13.1 Ultimate.
In this post I will give you a quick intro into how Chronon works and how you can use it with IntelliJ IDEA 13.1 EAP.
We think you’ll be glad to know that IntelliJ IDEA 134.1342 has just been released. So far it’s the latest preview build of the upcoming IntelliJ IDEA 13.1, so grab it while it’s hot to check out the new features and enhancements:
- Live templates are now suggested in Code completion.
And you can use Ctrl+Space to apply a template (along with the good old Tab):
- Code blocks automatically indented after closing a curly brace.
- And of course there’s a lot more. See the Release Notes for complete coverage.
More details on what else is new in IntelliJ IDEA 13.1 features are coming soon.
Meanwhile, don’t hesitate to share your feedback on the discussion forum or in the issue tracker.
Update: If you’re using Mac OS X and would like to run this build on JRE 1.7 make sure to use the dedicated bundles (such as ideaIC-134.1342-jdk-bundled.dmg and ideaIU-134.1342-jdk-bundled.dmg) instead of manually editing the Info.plist file. Otherwise IntelliJ IDEA may not start.
Develop with Pleasure!