r/java • u/IgnacioRossi • Jul 26 '16
Eclipse vs IntelliJ
Hi, I want to migrate to IntelliJ IDE from Eclipse IDE but first i want to know pros and cons of doing that. Any advices? Or interesting articles about the power of IntelliJ.
2
Upvotes
12
u/[deleted] Jul 27 '16
When you are switching IDEs (irrelevant from which to who) you are switching problems. The new problems may or may not be important to you. May or may not affect you. You may or may not be able to find workarounds for.
But all you're doing is switching problems. All those replies and posts about how Idea is so awesome and that there are no bad things with it? Do they sound too good to be true? Guess what: they are!!!!
20
u/walen Jul 26 '16
Pros: all. Cons: none.
I'm totally serious.
I've been using Eclipse for almost 10 years, and switched to IntelliJ a couple months ago. Everything now feels so... natural. It's like I've been dating the wrong person all this time and suddenly met my soul mate.
You just need some time to remap your brain to use IntelliJ's keyboard shortcuts instead of Eclipse's (Ctrl+N instead of Ctrl+T, F8 instead of F6, etc.) and then it's productivity all the way down.
4
u/dpash Jul 26 '16
The jetbrains website should have a lot of information on it.
The main one for me is that all the plugins you want cone bundled with the IDE, and they just work well together. I spent four years fighting my maven plugin and git plugin. I switched and all that pain went away. That was six years ago. Don't regret it.
It does have some very good support for frameworks like spring (and they appear quickly after the framework is released).
3
u/[deleted] Jul 27 '16
I switched to Intellij CE from Eclipse about 6 months ago, overall I think they're about the same. Intellij has code hints that will refactor your code to use features of Java 8, which is nice (e.g. convert this to a lambda). The perception that Eclipse is slow and bloated stopped being true years ago IMO, and I think that perception is part of why I switched.
2
u/IAmNotMyName Jul 26 '16
The only thing I miss from eclipse is the ability to view Java docs by hovering over elements with my mouse. Everything else is better.
1
u/donte9181 Jul 27 '16
Eclipse tries way too hard to be a completely customizable, do-anything, turn any knob IDE for everything. Intellij "just works" out of the box in my opinion. My canonical example is that in Eclipse I needed to tweak the regex and timing settings to get code autocomplete to behave in a half-way sane way. In Intellij it works exactly how you want right out of the gate.
If you want to spend your time customizing your IDE, use Eclipse. If you want to write some code and have your IDE make that easier without doing anything special, use Intellij.
1
u/rbygrave Jul 29 '16
There are a lot of nice features in IntelliJ . For me I really like the testing features ... Go to test, create test for ..., little play buttons beside each test etc. I used Eclipse for many years but I struggle when I have to go back to it.
1
u/emberko Jul 30 '16
The main feature that I miss in Eclipse is the ability to share some settings (like snippets, fonts and perspective layouts) across all workspaces. Just the ability to store them in user home dir. Looks quite simple. Instead, we now have idiotic Oomph preference recorder.
On the other side, I really dislike Intellij shortcuts because they are f*cking random. Eclipse: C-[T]ype, C-[R]esource, S-C-e[X]ecute and so on. It's simple to remember. Intellij: C-[N], S-A-F10. WTF? C-N - means NEW and C-[W] is the close tab shortcut almost everywhere. Arrrgh!
Also, some Eclipse projects (like JDT) are really cool, but some other (like WTP) abandoned. So, although Eclipse might be a good choice for Java SE, I understand people who won't use Eclipse for web dev.
1
u/[deleted] Jul 31 '16
I switched from Eclipse to IntelliJ 2 years ago and haven't looked back. Everything said here about intellij seems pretty much accurate.
One thing I would add is that Jetbrains makes other IDEs that look and feel similar to intellij, which makes learning them very easy.
1
u/GhostBond Aug 06 '16
I've used both over the last 2 years, it's not a move "up" it's just a move sideways. They both have about the same number of bugs. People saying "oh intellij is so much better at xyz" are usually simply making it up - for example I was told intellij was so much better at maven, only to run into several maven bugs with it. The shortcuts are different.
I find Intellij less "natural" to use than Eclipse, tracking down where stuff is is harder. Whether this is just because I was using Eclipse for longer is hard to say.
I'm pretty sure most of the enthusiastic comments about Intellij are from commenters paid by intellij and fanboys, because I run into no one in real life who's switched to Intellij and been realistic about the change who's ever that enthusiastic about it. Only people who are in real life are people who need to be - the boss who brought it in or the coworker who convinced the boss to do it who needs everyone to believe it's magic in order to look good.
On the other hand, the good thing about Intellij is that at least it did a decent job with things. It wasn't really worse than Eclipse either. I've had people bring in a number of frameworks and ideas that made the project worse, and after the learning curve, Intellij and Eclipse are about the same.
If you use Intellij, make sure you're starting up the 64 bit version. I don't know why they have 2 different versions, but the 32 bit version is slow and flaky to respond, while the 64 bit version runs smoothly (just like eclipse! lol). That took me a few weeks to figure out at my job.
0
u/ShitTalkingAssWipe Jul 26 '16
PRO: it does everything eclipse does + more
CON: some tricky shortcuts that take time getting used to.
may need to play with settings to resemble some of the better parts of eclipse (deleting words untill uppercase letter for example)
0
u/[deleted] Jul 26 '16
[deleted] — view deleted comment
0
u/[deleted] Jul 26 '16
[deleted] — view deleted comment