2011-12-07

IntelliJ IDEA 11 rocks!

IntelliJ IDEA 11 came out yesterday, and I've been evaluating it by adding some unit tests to a hobby project.

The user interface (on Linux) has improved tremendously from the previous major version. It's now better more eye-friendly than either Eclipse or NetBeans, for a user who'll be staring at it for hours on end.

Its Git integration is leaps and bounds past what either Eclipse offers, and you can't even mention NetBeans (7.1 RC1) Git "support" in the same sentence. It prompts you to "git add" files as you add them to the project, and has only very relevant stuff in the commit and push workflows. Its quick diff is far superior to Eclipse's, as is its review functionality. Finally, neither of its competitors offers anything close to what its git push interface does.

When writing unit tests, IDEA makes the smartest assumptions of contextual test running. Control-Shift-F10 not only works by default on Linux, unlike NetBeans' and Eclipse's defaults, it detects your context from your cursor position, running only your current test if your cursor is in a method, or the entire class, if the cursor is between methods. Eclipse can do the same, but it also has to pop up a dialog asking whether I want to run the unit test on a server (?), and its keybindings need a lot of tweaking to work on Linux. NetBeans just leaves the entire job of determining context to the user.

Where NetBeans and Eclipse still win, however, is suggesting different class constructors, by their parameters and JavaDoc.

NetBeans 7.1:

IntelliJ IDEA 11:

0 comments:

Post a Comment