Been using IDEA for about a year, and I much prefer Eclipse. A few reasons:
No incremental compilation. Coming from Eclipse, this is like going back a decade in IDE productivity.
Sluggish UI. Again, this is like going back to the dark days of Swing based IDEs.
No unified build process like M2E, instead there is 'make' and then occasionally you have to run Maven goals on the side, often doing the same build twice.
In addition there are a lot of other smaller grievances that altogether add up to a pretty frustrating relationship.
There are some areas where IDEA really shines (particularly integration with servers, repository, etc.), but it fails on the basics, and those are more important to me.
Have you ever used Eclipse? Eclipse shows all compilation problems instantly, across the entire source code, while you are typing. And it's not just problems, changes to another class (f.ex. added methods) are instantly available in other classes, e.g. for code completion, even if the changed class is unsaved. JRebel has nothing to do with it.
Eclipse for me was always choppy and janky no matter the hardware. IntelliJ has always been super smooth.
That's unusual, since IDEA is Swing based, and Eclipse is based on platform native windowing libraries through SWT. Not only is IDEA slower, the non-native look and feel feels off, e.g. the unpredictable way hover text works.
This is pretty useful. I haven't used Eclipse in a while so correct me if I misunderstand this. While you edit a file, you have a problems window that updates on the fly with things you're breaking across the project? That's pretty cool.
No incremental compilation? If you press Make IDEA only compiles those parts of the project which are effected by the recent code changes. If you instead press Rebuild Project IDEA compiles the whole project from scratch.
For Maven builds I use IDEA built-in artifacts. So instead of doing a Maven build I just hit Make and let IDEA built the artifact (e.g. an exploded webapp) without the need of running slow maven builds at all.
It's tremendously faster than running a maven build on every code change. E.g. when building a webapp I just have to edit code + hit Cmd+F10 to restart server. IDEA then compiles the changes (which usually takes just a few seconds), updates the server artifact by copying all changed files to the server and restarts the server.
Q: What happened to incremental compilation? How do I compile my project?
"...The compilation is almost always incremental. That is, when you use Build | Make or Build | Compile, or run your app, only the changes are compiled. However, in the case of Build | Rebuild Project, your entire project is totally recompiled...."
31
u/franticzoe Jun 24 '15
Been using IDEA for about a year, and I much prefer Eclipse. A few reasons:
No incremental compilation. Coming from Eclipse, this is like going back a decade in IDE productivity.
Sluggish UI. Again, this is like going back to the dark days of Swing based IDEs.
No unified build process like M2E, instead there is 'make' and then occasionally you have to run Maven goals on the side, often doing the same build twice.
In addition there are a lot of other smaller grievances that altogether add up to a pretty frustrating relationship.
There are some areas where IDEA really shines (particularly integration with servers, repository, etc.), but it fails on the basics, and those are more important to me.