Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the advantages of IntelliJ over Eclipse? [duplicate]

I have been working with Eclipse for quite some time and recently got several recommendations to use IntelliJ.

As I just saw that questions of the format of "Which IDE is better?" are frowned upon (not without a good reason) - I wanted to know objectively what are the advantages of IntelliJ over Eclipse.

I know what Eclipse does and frankly I'm not missing anything. But this is exactly what I said about Visual Studio 2005 (C#) before starting to work on Eclipse - and now I can't even write a Hello World in VS without getting annoyed ...

I'll narrow the question down to the world of Java SE and Java EE only. No Android, no GUI.

I'm looking for:
What does IntelliJ give me that Eclipse lacks?
What does Eclipse give me that IntelliJ lacks?

Try to be objective, and please only answer if you had substantial experience with both tools.

Thanks.

Edit: The scope of work I'm looking for is both for working on private projects and as part of a team of several developers working on the same product. But if I have to choose - I'll focus on teams only.
JUnit is a crucial part of the work (personally I started working in TDD several months ago - but lets not open that).
I'll also be interested to know about ANT/Maven related benefits if there are - although my prime motives are to know if I can benefit from things like: Quicker development (e.g. code generation, templates, auto complete etc.), Easier AUT, simpler Java EE application deployment during development (for UT) etc.

like image 455
RonK Avatar asked Apr 10 '11 17:04

RonK


People also ask

Why is IntelliJ so much better than Eclipse?

IntelliJ is much easier to use as compared to Eclipse. The learning curve is far faster in IntelliJ, which makes developing easier and more natural. Code completion, Dropdowns, quick view, project wizards, etc. are all possible in both Eclipse and IntelliJ, but the user experience in IntelliJ is much more satisfying.

Which is better to use Eclipse or IntelliJ?

A: Eclipse is better than IntelliJ for large and complex projects. This is because it indexes the entire project during startup. IntelliJ IDEA, however, outshines Eclipse when it comes to dealing with existing projects. In this case, IntelliJ IDEA delivers better performance than Eclipse.

What is the difference between IntelliJ and Eclipse?

Both provide many features to make development easier. IntelliJ is recommended for beginner programmers . Eclipse, on the other hand, is suitable for experienced programmers working on complex and larger projects. However, it is all a matter of preference and either resource is viable for Java development.

What are the advantages of IntelliJ IDEA?

Key benefits IntelliJ IDEA offers IntelliJ IDEA enables developers to work more efficiently. They can write better code with consistent style, fewer bugs and exceptions, better referencing of the existing code base, better structure, and more.


2 Answers

For me there are two points:

  1. Refactorings (IntelliJ is great in the refactorings it provides)

  2. Plugin stability, I've always found that when I have a stable install of Eclipse, I get a new plugin and everything comes down in flames and I have to reinstall everything.

like image 83
CarlosZ Avatar answered Sep 28 '22 11:09

CarlosZ


IntelliJ allows me to navigate between Java, JSP, JS, CSS and pretty must every other type of file. With Eclipse I need to install a plugin to be able to navigate through file types other than Java.

@Rachel. Hmmm. In Eclipse Ctrl-Shift-R (on mac Command-Shift-R), open up "Open Resource" dialog where you can type whatever you want and it will match ANY file, not just Java. Ctrl-Shift-T will do the same, but limit it only to Java types.

like image 31
user1902183 Avatar answered Sep 28 '22 12:09

user1902183