CTRL-click that brings you to where clicked object is defined works everywhere - not only in java classes and variables in java code, but in spring configuration (you can click on class name, or property, or bean name), in hibernate (you can click on property name or class, or included resource), you can navigate within one click from java class to where it is used as spring or hibernate bean; clicking on included JSP or JSTL tag also works, ctrl-click on javascript variable or function brings you to the place it is defined or shows a menu if there are more than one place, including other .js files and js code in html or jsp files.
Autocomplete in HSQL expressions, in hibernate configuration (including class, property and DB column names), in spring configuration
<property name="propName" ref="<hit CTRL-SPACE>"
and it will show you list of those beans which you can inject into that property.
Very smart autocomplete in java code:
interface Person {
String getName();
String getAddress();
int getAge();
}
//---
Person p;
String name = p.<CTRL-SHIFT-SPACE>
and it shows you ONLY getName(),getAddress() and toString() (only they are compartible by type) and getName() is first in the list because it has more relevant name. Lastest version 8 which is still in EAP has even more smart autocomplete.
interface Country{
}
interface Address {
String getStreetAddress();
String getZipCode();
Country getCountry();
}
interface Person {
String getName();
Address getAddress();
int getAge();
}
//---
Person p;
Country c = p.<CTRL-SHIFT-SPACE>
and it will silently autocomplete it to
Country c = p.getAddress().getCountry();
Smart autocomplete in javascript.
function Person(name,address) {
this.getName = function() { return name };
this.getAddress = function() { return address };
}
Person.prototype.hello = function() {
return "I'm " + this.getName() + " from " + this.get<CTRL-SPACE>;
}
and it shows ONLY getName and getAddress, no matter how may get* methods you have in other JS objects in your project, and ctrl-click on this.getName() brings you to where this one is defined, even if there are some other getName() functions in your project.
Lastest version has language injection, so you can declare that you custom JSTL tag usually contains javascript and it will highlight javascript inside it.
<ui:obfuscateJavaScript>function something(){...}</ui:obfuscateJavaScript>
Indexed search across all project.
You can use Find Usages of any java class or method and it will find where it is used including not only java classes but hibernate, spring, JSP and other places. Rename Method refactoring renames method not only in java classes but anywhere including comments (it can not be sure if string in comments is realy method name so it will ask). And it will find only your method even if there are methods of another class with same name.
Good source control integration (does SVN support changelists? IDEA support them for every source control), ability to create a patch with your changes so you can send your changes to other team member without commiting them.
When I look at HashMap in debugger's watch window, I see logical view - keys and values, last time I did it in eclipse it was showing entries with hash and next fields - I'm not really debugging HashMap, I just want to look at it contents.
It validates spring and hibernate configuration right when you edit it, so I do not need to restart server to know that I misspelled class name, or added constructor parameter so my spring cfg is invalid.
Last time I tried, i could not run eclipse on Windows XP x64.
Autocomplete and ctrl-clicking in JSP EL and JSF EL. Type <h:outputText value="#{person.<CTRL-SPACE>
and it will suggest you person.name or person.address.
Ctrl-click on person.name and it will navigate you to getName() method of Person class.
Type Pattern.compile(""); put \\ there, hit CTRL-SPACE and see helpful hint about what you can put into your regular expression. You can also use language injection here - define your own method that takes string parameter, declare in IntelliLang options dialog that your parameter is regular expression - and it will give you autocomplete there as well. Needless to say it highlights incorrect regular expressions.
There are few features which I'm not sure are present in eclipse or not. But at least each member of our team who uses eclipse, also uses some merging tool to merge local changes with changes from source control, usually WinMerge. I never need it - merging in IDEA is enough for me. By 3 clicks I can see list of file versions in source control, by 3 more clicks I can compare previous versions, or previous and current one and possibly merge.
It allows to to specify that I need all .jars inside WEB-INF\lib folder, without picking each file separately, so when someone commits new .jar into that folder it picks it up automatically.
Did I mention autocomplete and ctrl-clicking in paths to files, like <script src="", <img src="", etc?
Autocomplete in html tag attributes. Autocomplete in style attribute of html tags, both attribute names and values. Autocomplete in class attributes as well.
Type <div class="<CTRL-SPACE> and it will show you list of css classes defined in your project. Pick one, ctrl-click on it and you will be redirected to where it is defined.
Mentioned above is probably 10% of what it does. I do not use maven, flex, swing, ejb and a lot of other stuff, so I can not tell how it helps with them. But it does.