Software Development

Intellij vs. Eclipse

Choosing the right IDE can make you or break you as a coder. Most developers would be lost without the comfort of their preferred IDE, which takes care of classpath, make files, command line arguments, etc. The problematic dependence on the IDE, while very beneficial, is off topic and a discussion for another post. We concentrate on 2 main platforms, Eclipse and Intellij Community Edition, comparing them, mainly in the Java SE context. Disclosure: Nadav uses Intellij on a regular basis, and Roi uses Eclipse.

Walking through history lane, Eclipse is around since 2001, while the real major release was Eclipse 3.0 in 2004. It began as an IBM project, but current members of the Eclipse Foundation range from Oracle to Google. Current release is Eclipse Indigo 3.7, and it is licensed under the Eclipse Public License. Intellij is part of the JetBrains, which was founded in 2000 as a private company. Intellij for Java was first released in 2001, and the Community Edition supports Java, Groovy and Scala, and its free and open source under the Apache 2.0 license.
We use Java as our main development language. Each developer chooses its own IDE. War between the IDE’s is waging around us, starting from our school days and University, and extends to our current workplace. While each side is certain in his righteousness, we believe there is no right or wrong answer, but rather choosing the right platform for your needs and challenges, taking into account the kind of programmer you are. We would like to share our own experience on when to use each. So here we go:
  • Plugins: Eclipse marketplace offers 1,276 plugins, and the Intellij Plugin Repository offers 727 plugins. This difference is not to be taken lightly, since plugins for new technologies will usually be developed mainly for Eclipse (e.g. Android, Drools, Activiti, etc). Moreover, Eclipse is easier to extend. When working on a specific technology most chances are that if a plugin exists, it will be an Eclipse plugin.
  • Multiple projects: This is an Eclipse winner for sure. It has the ability to open multiple projects in the same window, giving the coder control over dependencies and relations. Intellij has an option to open one project with multiple modules, but we found it to be cumbersome, and in times a little buggy. If you are going to use a lot of projects together and hate to switch windows, Eclipse is your choice.
  • Multiple languages: We have stated that we will only examine the Intellij Community Edition that supports Java, Groovy and Scala. However, if you plan to create a Python server, combined with Ajax & Html, joint with a java web server, or any other exotic language combinations, than Eclipse is your choice.
  • Code completion & inspection: While Eclipse has the ability to add plugins such as checkstyle, this one definitely goes for Intellij. The default code completion and assistance in Intellij is faster and better. If you are a rookie developer, Intellij can improve your code.
  • Usability: Intellij user experience is much easier to grasp. The learning curve in Intellij is by far faster. It seems using Intellij makes developing easier and more natural. Dropdowns, code completion, quick view, project wizards, etc, are all possible both in Eclipse and Intellij, but the experience in Intellij is much more satisfying.
  • Performance: The more plugins are installed on the IDE, the more heavy it is for your computer. However, saying that, Eclipse handles very large projects faster. Moreover, both of the IDE’s seems to be RAM junkies. Projects usually open faster in Eclipse, as Intellij indexes the entire project on startup, but while working on an existing project, Intellij works smoother. For example we have a huge SOAP project, which is impossible to work on with Intellij, so some of us even learn Eclipse just for that.
  • Repository integration: Both of the IDE’s have SVN\GIT\etc plugins. No doubt Intellij’s plugin is more reliable, has better GUI and easier to use.
  • GUI builder: We found that the built in Intellij GUI builder is more comfortable, and as mentioned above, usability wise its easier to learn, and more enjoyable to develop.
For a conclusion, a programmer should be able to find the right tool given a specific task. This means that one should be acquainted with both of the IDE’s, in order to face the challenge with the right tool.

References:  Intellij vs. Eclipse from our JCG partner Nadav Azaria & Roi Gamliel at the DeveloperLife blog.

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

31 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Andriy Gerasika
Andriy Gerasika
12 years ago

NetBeans sucks.

Emilian Bold
12 years ago

Well, that’s not a terribly constructive thing to say.

I’m much more productive with NetBeans than with any other IDE.

My first job after graduation was at a big corporation where Eclipse was the mandatory IDE and I’ve used it for years. I should have grown used to Eclipse but frankly it doesn’t hold a candle to NetBeans.

If only for the Profiler and you should still be using NetBeans.

Can’t comment much about IDEA, I’ve barely used it and I would never buy a 400 euro commercial license for an IDE.

sorin_postelnicu
sorin_postelnicu
12 years ago
Reply to  Emilian Bold

I am sure that after you will use IDEA for a while, you WILL buy it :) That’s what I did. And it’s worth all the money.
The development experience is way ahead of the competition…

Faizal Martinus
Faizal Martinus
11 years ago

I’ve used Netbeans, Eclipse, and IDEA, but only IDEA that runs faster on my laptop. Buggy? yes; no J2EE on Community Edition? yes; but I still use it and I do J2EE with it.
Too bad it costs too much for me, but thanks that there is Community Edition

padam
8 years ago

Yeah, IntelliJ IDEA looks good, but it costs more. But, eclipse is totally free and with rich feature fom J2EE, JPA, Database Managment, Web Projects everything. But, Intellij IDEA lacks everything except simple java project, android project, gradle in community edition. So, i prefer to use Eclipse..

Ryan de Laplante
Ryan de Laplante
12 years ago

I’ve worked with Eclipse, IntelliJ IDEA, and NetBeans. I love the way NetBeans provides its Maven integration, and prefer to work in NetBeans over the other two IDEs. It is a very usable and capable IDE with over 1 million active users. I use it on Java SE and EE web/web sevice projects for large multi-national customers.

Yusup Ashrap
Yusup Ashrap
12 years ago

I used them both, Intellij Idea is way better than eclipse.

boci.boci
boci.boci
12 years ago

I used eclipse for java/scala, but it’s a shit for Web development (HTML/Javascript/CSS, ohh and yes, Aptana is a TOY). I tried rubymine and webstorm and its light years better than I ever see (NB/Eclipse and I tried more than 20 editor for html/js/css). For java and scala I never tried to use IntelliJ (ok, I tried, but I lost in the project administration). For NB guys: I tried some version of NB. The integration functionality (ex: maven integration) it’s better than eclipse, but the editor is a toy… sry guys, i try to switch many-many times, but in the… Read more »

Ryan de Laplante
Ryan de Laplante
12 years ago
Reply to  boci.boci

Hilarious. NetBeans editor is awsome for real programmers that don’t need “clickety click”. I don’t think your evaluation was more than skin deep. Seriously, you are spreading FUD.

Albert Gorski
Albert Gorski
12 years ago

IntelliJ is MUCH better than eclipse (used eclipse for over 10 years).

About plugins: it is not imporatnt how many plugins you have but the plugin QUALITY and how they collaborate.
IntelliJ have a LOT of stuff already on the board so you do not need a plugin … what more it works. 

If you are profi, I think it is a worth to buy a GOOD IDE … it is a small money amount when you calculate time spent to brings eclipse with plugins live, update eclipse/plugins etc.

my 5 cent

Roi Gamliel
Roi Gamliel
12 years ago
Reply to  Albert Gorski

a. The idea was to write about something free
b. For one to be a good programmer (profi), and understand what is happening under the hood, IDEs are bad practice.

Art JOlin
Art JOlin
9 years ago
Reply to  Roi Gamliel

(a pretty stale thread to comment on, but maybe others will read it) I recently retired from programming for 36 years, from mainframes to android phones at the end. I’ve seen IDEs come and go and have used maybe 15 different ones over the years (VisualAge, Eclipse/RAD, IntelliJ recently when I was forced off Eclipse by Google’s effectively dropping support for Eclipse for Android). In my career I have written papers on Java threading and atomic operations (what was there before the atomic package came along), I’ve written assembler code, device drivers, compilers and related tooling and once an app-server-based… Read more »

Rick Reumann
Rick Reumann
12 years ago

I try to like Eclipse. I really do… but can someone tell me how to get it to autocomplete package names in ANY xml file, like I can in IDEA? I even installed some rhino XML plugin thinking that would help and it didn’t help. For example, if I’m in a MyBatis mapper file and I type   <mapper namespace="foo.bar. — Should allow autocomplete ! but I can't get Eclipse to autocomplete in XML files other than maybe some specific files (like my spring configs.) One thing I noticed about IDEA is that 'stuff just works everywhere' You don't even… Read more »

Yusup Ashrap
Yusup Ashrap
12 years ago
Reply to  Rick Reumann

just install idea

Michael Schaffler
Michael Schaffler
12 years ago

We use IntelliJ Ultimate several years now. Once you used it you will not want to come back to eclipse. Intellij is just far more elegant. Let me list my favourite things: * Refactoring – it is really amazing. IntelliJ knows every dependency in all frameworks and is able to find all occureences of a thing to be renamed no matter if in JSPs, Facelets any XML file and of course code and comments * Autocompletion – IntelliJ knows all Spring Beans, all Managed Beans, perfectly knows how to autocomplete JPA Query Language, Hibernate Query Language, SQL. It automatically detects… Read more »

Rahul Saini
Rahul Saini
9 years ago

1) The IntelliJ Decompiler really rocks and one can go deep into debugging !! 2) CSS Autocompletion, JSP , JSTL, and even Freemarker Tags , Directives recognized and correction indicated. Eclipse yet to catch up there 3) String AutoEscaping for multi-line string literals 4) Jump to Spring Bean definitions and even I have seen Spring Integration 5) Refactoring / Renaming is just close-your-eyes and press “Do Refactor” !! 6) Clubs Search String or words in project / workspace as “Occurences in Code”, “Occurences in comments” and so on, very helpful 7) Auto Save of code implies no surprises like Eclipse… Read more »

morpheus
morpheus
12 years ago

I used Eclipse for several years (RCP Dev) and I think IntelliJ is far better.

I think comparing Eclipse with IntelliJ Community is a little pointless: I do not choose my tools because they are cheap, I choose them for their productivity boost. It’s irrelevant if IntelliJ costs something, the question is: Is it worth my money? Is it worth to trade my free IDE (NB and Eclipse) against a ~200$ IDE? And, as I also tried NB, the answer is YES.

Olli Miettinen
12 years ago

For me, it’s not about features. Intellij IDEA just works smoothly and gives me a pleasant user experience unlike Eclipse which just simply hates my guts.

Sylnsr
Sylnsr
10 years ago
Reply to  Olli Miettinen

“Eclipse … just simply hates my guts” – I have that problem too! … IntelliJ loves me and I love IntelliJ

Fox
11 years ago

I use intellij for java and phpstorm for php.

Rojesh
Rojesh
10 years ago

Nice article.I use eclipse for android app development. But now i feel like using intellij

Eagle
Eagle
10 years ago

Idea > Eclipse. Say whatever you want.

Matt
Matt
10 years ago

2007 – 2013 used Eclipse and NB and other like (Aptana and Ninja)
Since 2014 i’m using IntelliJ and other JetBrains IDEs (PyCharm, RubyMine, WebStorm).

Didn’t used AppCode already (Xcode is ok at time…)

But these IDEs are amazing. I don’t understand why i didn’t use Idea earlier…

comparing intellij with eclipse is like comparing a rowing boat with a motorboat…

Daniel Wu
Daniel Wu
10 years ago

I have been using Eclipse over 10 years since 2002. By the end of 2012 I switched to IDEA CE. Even the CE version is much better than Eclipse for a couple of reasons. First, IDEA is much much much much more stable than Eclipse and you don’t see quirk issues with IDEA, secondly IDEA has fewer but much much better plugins, Eclipse has thousands of poor plugins and often those plugins conflicts. Lastly, I work a lot on Mac OSX, Eclipse’s key binding is shit on Mac, even CMD+G does not work. Comparing IDEA with Eclipse is like comparing… Read more »

Razvan Juravle
Razvan Juravle
10 years ago

After trying eclipse, netbeans and idea I just fall in love with intelij and bought it for these reasons:

– user experience
– development speed
– smarter autocomplete
– languages, app servers, platforms integration
– almost no need(until now) to install a plugin

What I consider is even is not cheap(as NB and Eclipse cost of $0), a good tool for a professional but not exclusively makes 50% of his work and worth the price.

huibin
huibin
10 years ago

I also like IDEA MUCH better than Eclipse. code folding is much better than that in Eclipse and better user interface. Caret can be set block (easier view) which is not possible in Eclipse.

Sergy
Sergy
10 years ago

if we are talking about GUI , ease, configurabality, nice looking, usability, plugins, JEE, ..etc we are talking about ECLIPSE.
IDEA is faster in search and better in autocompleteion (in most cases but not in all).

my vote is to Eclipse, 500$ will not be even close to OPEN-SOURCE.

Robin
Robin
9 years ago

Intellij IDEA is far far better then the crap eclipse not because of open source because of poor features and buggy laggy plugins. There is 30 days trail then you’ll feel like rabbit vs tortoise.

ronnie
ronnie
9 years ago

I think both Eclipse and IntelliJ are very complete and professional IDE environments. I used both for years and have a preference for IntelliJ, although I’m sure it’s a very subjective thing that depends on the developer’s experience and history.

Aldav
Aldav
9 years ago

I have been using Idea for a while now (2+ years), before that, I used Eclipse, both for Java and C++ development. My personally opinion is that Idea is by faaaaar much better IDE. It’s like someone mentioned before, it’s not the # of plugin but how good those plugins are, and IDEA’s built in tools are just great and extremelly well integrated. If you develop modern Java apps, Web apps and so on, IDEA is the weapon of choice. Extremelly good support for modern technologies.

Back to top button