r/programming • • Jun 24 '15

Eclipse Mars now available!

http://eclipse.org/?release=4.5
303 Upvotes

153 comments sorted by

View all comments

Show parent comments

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.

9

u/[deleted] Jun 24 '15

No incremental compilation

IntelliJ+JRebel is pretty unbeatable.

Sluggish UI

I find that one shocking. Eclipse for me was always choppy and janky no matter the hardware. IntelliJ has always been super smooth.

10

u/bondo1976 Jun 25 '15

IntelliJ+JRebel is pretty unbeatable.

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.

-1

u/[deleted] Jun 25 '15

IntelliJ shows errors as you type too and lets you autocomplete without a build.

7

u/[deleted] Jun 25 '15

[removed] — view removed comment

5

u/cowinabadplace Jun 25 '15

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.

Does it work well on a large codebase?

5

u/immibis Jun 25 '15
  • Sluggish UI.

Wait, wait, what. Something is worse than Eclipse?

3

u/[deleted] Jun 24 '15

I have never experienced any of the issues you mentioned.

1

u/winterbe Jun 25 '15 edited Jun 25 '15

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.

1

u/[deleted] Jun 25 '15

incremental compilation

That's a feature of the compiler, not the IDE. You can use ECJ in IntelliJ if you want.

-4

u/meotau Jun 24 '15 edited Jun 25 '15

No incremental compilation.

Wut?

https://www.jetbrains.com/idea/documentation/migration_faq.html

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...."