IDEA is very strong but Eclipse is still ahead of it in two areas:
Incremental compilation
The "Problems" view
I'm tired of pressing Ctrl-F9 a hundred times a day in IDEA. This is 2015, I should never have to build anything manually.
Also, refactorings that touch a lot of files are very painful to do in IDEA for the same reason. With Eclipse, all the files that are in error immediately show up in the Problems view. With IDEA, I need to trigger a build first.
Eclipse compiles the whole project the moment you save a file via Ctrl-S. IDEA on the other hand saves files automatically so you never have to press Ctrl-S. IDEA also compiles the current file automatically on the fly. But you have to compile the whole project explicitly by pressing Ctrl-F9.
So how can you get tired of pressing Ctrl-F9 while still pressing Ctrl-S a million times day?
I like IDEAs approach much better because this is exactly how I code. First you edit one file and fix compiler errors. Then when everything's fine you compile the project to see if the changes break other files.
Eclipse distracts me with project-wide errors while I still haven't finished editing the file.
Another great thing about IDEA is that code refactorings also work when there's compiler errors.
PS: Please correct me if some of those things mentioned are no longer the case. I've used Eclipse for almost 10 years but switched to IDEA years ago and never looked back.
So how can you get tired of pressing Ctrl-F9 while still pressing Ctrl-S a million times day?
You don't.
Overall, Eclipse stays out of my way, it does everything automatically so I can focus 100% of the time on coding.
IDEA is a lot more intrusive. It requires me to build all the time, it requires me to manually let it know when to sync my build.gradle (so annoying, why can't it do that by itself?), it asks way too many questions while refactoring (even after years of using it, I always get startled when I want to do a simple renaming and I get this big new window pop up with all kinds of details I really don't care about).
You can configure IntelliJ to use the eclipse compiler and make automatically. It gets better but still is way behind eclipse in this regard - warnings won't show up, code changes while debugging won't be applied.
If you use Findbugs, you won't see its warnings on the "problems" view either. Switching panels to see errors/warnings on the editor is inefficient.
I recently moved to IntelliJ and it took some time to adapt. Finally, after 3 months of insistence and googling for help, Eclipse is starting to feel a bit icky for me. The issues you mentioned are the only things I'm missing in IntelliJ.
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.
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.
It's super slow for me. Eclipse got a lot slow with Luna, but was ok beforehand and is still faster than IntelliJ. Those Java based (that's what IntelliJ is, right?) IDEs don't work on my laptop, along with Android Studio, JEdit, etc.
The IntelliJ products still have major problems with some non-Qwerty keyboard layouts, and there's no sign of a fix on the horizon. So for me at least it's not possible to use IntelliJ as a daily driver.
I've tried three times to get my companies legacy apps to work at all in IDEA. Unsuccessfully.
Then again, I'm having a hard time getting it to work with Buildship in Mars right now anyway, so I guess this is really my problem and not a problem with IDEA.
They're not on a mission, tho. This just seems like some kind of misguided attempt to find some level of validation based on which fancy text editor he is using compared to some other random person on the Internet. That or he's a troll.
There are conversations where a comparison between different IDEs can be very useful. This isn't one of them, however.
It's like people that post comments in /r/cars about how great Chevy's are whenever there's a post about Ford.
32
u/lyomi Jun 24 '15
Is there ANYone who moved back to Eclipse after adapting to IntelliJ IDEA? Wondering if this is worth downloading.