views:

1460

answers:

11

I have heard from people who swear by one or the other. Both are full-featured, excellent IDEs. But each has slightly different strengths. This is not meant to turn into a holy IDE war. Please downvote any flamebait answers. Thanks.

This is the analog of this question.

A: 

A working subversion integration, have a look at the bugs of the idea subversion plugin.

Arne Burmeister
krosenvold
Subversion integration appears to work pretty well for me in IntelliJ 7.0.5. No issues that I've seen.
duffymo
Subversion integration also works well for me in 7.0.x and 8.x. Working with a very large CVS repository on the other hand was a problem for me in the 7.x.
Ruben
I work with eclipse, idea 7 and idea 8. The subversion plugin of idea has a very strange behaviour resulting in partial commits (as the lok´cal changes cache is not up to date), showing [partial] prefixes in incoming history.
Arne Burmeister
Refactorings like moving packages often result in unexpected changes like creation of the target dir and moving or worse replacing all files one by one. This makes later merges harder than using a commandline. Also the build in merge functionality of idea often creates garbage.
Arne Burmeister
+2  A: 

Only eclipse allows you to step through an ant build in the debugger.

Craig P. Motlin
+10  A: 

As far as I know there is no alternative to eclipse's excellent Mylyn task plugin in IntelliJ.

SamBeran
+2  A: 

The biggest annoyance I've found (using both) is that in Eclipse I can create Ant Launch tasks. These tasks allow me to run the same ant task in the same build file using different sets of properties/arguments without editing each time.

In IDEA, properties are set across the entire build file. So not only can you not run the same ant task with different properties without editing, but you can't run different ant tasks with different properties unless they are in different build files.

Instantsoup
+1  A: 

Idea has no drools plugin and external editors (like excel) are hard to integrate.

Arne Burmeister
+11  A: 

My favourite small annoyance in idea (and favourite small feature in eclipse) is the positioning of the character when typing an opening curly brace (e.g. "{") or a semicolon. You'll have to enable it in eclipse (Window/Preferences/Java/Editor/Typing: "Automatically insert at correct position: Semicolon, Braces")

With this just type ahead ("|" is the caret position)

while(|

results (no magic yet) in

while(|)

now type true{, results in

while(true) {|

So simple, yet so powerful.

Also, in (e.g.)

System.out.println("Hello world")

with the caret anywhere in that line, typing a semicolon will automagically type it at the end of the line. Backspace corrects, just like the usual autocorrection in your favourite wordprocessor.

Priceless. I'm physically no longer able to type a semicolon at the correct position on first try :)

Olaf
You want to try CTRL-SHIFT-ENTER in IDEA. It will "complete" the line in both cases
oxbow_lakes
Thanks, that was news for me - though I can't get my grip around all those key combinations idea uses. ';' and '{' are *so* much more intuitive. I'll be working in idea next week and will try to remember... ;-)
Olaf
What if you want to insert ; in the string?
fastcodejava
If you want to insert ; in the string just press backspace, as in OpenOffice, Word or others. This will revert the autocorrection. The vast majority of my semicolons (by several orders of magnitude) end a line, so I'm extremely happy with it.
Olaf
A: 

In eclipse it is possible to get annoyed by making a 10x10 editing area ( cols/row ) and see all the other windows at the same time.

In IntelliJ this in not possible since the 'ESC' key will close them all.

Ok, ok, I'm sorry I have to do it, shoot me now

OscarRyz
You can just double-click the title bar of the editor area in Eclipse and it will maximise it - sending the other windows into pop-out folders on the side.
RodeoClown
+2  A: 

The open nature of Eclipse platform makes thrive the plugin writers community. There are tons of plugins available for all kind of tasks.

Peter Severin
The question was about things possible in Eclipse not possible in IDEA. Do you mean writing plugins is not possible for IDEA?
Pavel Feldman
I mean there are many more plugins for Eclipse than for IDEA.
Peter Severin
I do count number of plugins as direct benefit. Some functionality, available in Eclipse as plugins (like better JS support) is embedded in IDEA.
Pavel Feldman
A: 

In eclipse you can maximize the editor and in IntelliJ you can click escape, which is similar functionality. But in eclipse you can restore. There's no equivalent "un-maximize" in IntelliJ which is even more frustrating.

Craig P. Motlin
The same shortcut used to maximize the editor can also be used to "un-maximize" the editor afterwards.
Ruben
+1  A: 

My favorite Eclipse features:

  • AspectJ integration that includes navigation between aspects and the code, annotation markers showing where aspects are applied, cross reference view, common open typed dialog showing aspect types (recently added)
  • OSGi tooling (aka PDE), editing and optimizing OSGI manifest, refactorings specific to OSGi and declarative services editor (currently in the works)
+5  A: 

Since Eclipse 3.3 (but it can be done before using a plugin), you can automatically execute actions while saving a Java file:

  • organize imports
  • format source code
  • some other actions (like adding annotations, removing unnecessary casts...)

This can be configured in Preferences > Java > Editor > Save actions.

romaintaz