开发者

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

This question already has answers here: Things possible in IntelliJ that aren't possible in Eclipse? (41 answers) Closed 8 years ago.

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, tem开发者_运维问答plates, auto complete etc.), Easier AUT, simpler Java EE application deployment during development (for UT) etc.


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.


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.


This is the keymap of IntelliJIDEA.

Just read this article and you able to doing amazyng features with IntelliJ which you do not even dream of in Eclipse. For me, the most useful are Ctrl-Y , Ctrl-Enter, Ctrl-Alt-T, Shift-F6 and auto-completion.


Code navigation. (being able to find method and field declarations and usages.)

We have a J2EE project at work where both IntelliJ and Eclipse are in use so I have been able to compare the abilities of both.

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜