views:

8174

answers:

26

Some Eclipse plugins are mandated by your environment. The appropriate source code management plugin, for example - and I'm not interested in those.

Some provide useful enhancements, but in a specific niche. I'm not interested in those.

Some are great, but cost money. I'm not interested in those.

Some were really useful on older versions of Eclipse, but are now part of the core build of the latest Eclipse version (3.4 as I write this). I'm not interested in those.

I want advice on which plugins every Java SE developer should be installing, one per answer please.

+43  A: 

Findbugs saved me doing something silly twice today.

http://findbugs.sourceforge.net/

izb
+3  A: 

spring IDE

Update URL: http://springide.org/updatesite

Paul Whelan
Isn't that only useful if I'm using Spring?
Bill Michell
Yes, only for Spring.
Taylor Leese
+9  A: 

Subclipse SVN for eclipse Update URL: http://subclipse.tigris.org/update_1.4.x

Paul Whelan
Except I explicitly stated I wasn't interested in SCM plugins, since that is pretty much mandated by the environment. I'm looking for plugins I have a choice about.
Bill Michell
+12  A: 

Answering my own question with my current favourite, Jadclipse, which works with jad to disassemble class files from third party libraries.

http://jadclipse.sourceforge.net/

Bill Michell
jad is not good with classfiles from Java 5 and newer. The latest version of jadclipse allows using e.g. JODE which does a better job. Unfortunately jad is not open source.
Thorbjørn Ravn Andersen
+2  A: 

If you use Hibernate then Hibernate Tools is a must. I really like the ability to write my HQL or JPQL and view the generated SQL real time!

If you're not using Hibernate I'm guessing your using a database in some form or another. Therefore, I would recommend the Data Tools Platform. In fact, you would be crazy to develop Java apps without using all the plugins provided by the Eclipse Ganymede Release. It's a great development platform without the headache of getting all the must have plugins synced up and working together.

Joe Dean
One plugin per answer please
Bill Michell
+3  A: 

The Eclipse TPTP can be incredibly useful for finding the slow spots in code and for anything else that would requiring debugging, profiling, or benchmarking. The only flaw is that it doesn't work on the mac :'(.

Paul Wicks
jvisualvm runs with the latest update of Java on 10.5. I am not certain if jvisualvm was backported to Java 5 or is Java 6 only on the Mac.
Thorbjørn Ravn Andersen
+2  A: 

My answer to this is clearly eclim. It exports Eclipse functionality to Vim, enabling me to use several awesome features of Eclipse, like auto-completion, autobuild and error-markup in the source file (using locations in Vim), auto-formatting, automatic imports, JavaDoc search, Source code Search... blah, I could go on forever. The most important thing is: I don't have to use the suck that is the Eclipse Java Editor (to me, editor quality is always subjective, of course).

Check out the site if you're into Vim, but forced/tempted to use Eclipse for one reason or another.

Aleksandar Dimitrov
+1  A: 

Seems like you can't really answer this question without having a focus for your development in Eclipse. I guess everyone needs a build and dependency system, so maybe Maven tools will win?

Bill James
Findbugs is already mentioned elsewhere. This is a poll. Can you delete findbugs from your answer and update the other findbugs reply, please?
Bill Michell
+4  A: 

I do really like the Andrei Loskutov's plugins:

http://andrei.gmxhome.de/eclipse.html

+2  A: 

Eclipse Metrics Feature (update site). The blurb:

This Eclipse plugin calculates various metrics for your code during build cycles and warns you, via the Problems view, of ‘range violations’ for each metric. This allows you to stay continuously aware of the health of your code base. You may also export the metrics to HTML for public display or to CSV format for further analysis.

  • Recalculation of metrics during every build
  • Export of metrics to CSV or HTML
  • Visual ‘dashboard’ with HTML export
  • Supported metrics are:
    • McCabe’s Cyclomatic Complexity
    • Efferent Couplings
    • Lack of Cohesion in Methods
      • Lines Of Code in Method
      • Number Of Fields
      • Number Of Levels
      • Number Of Parameters
      • Number Of Statements
      • Weighted Methods Per Class

(actually, I love FindBugs more, but this project is second.)

Stu Thompson
+5  A: 

Checkstyle. Its very quick.

FindBugs is wonderful but quite slow

Fortyrunner
+6  A: 

I'm particularly fond of the bytecode outliner plugin, although it won't suit all tastes since looking at Java bytecode isn't for everyone. Sometimes it's really useful to see the underlying bytecode for your Java class.

Update site: http://download.forge.objectweb.org/eclipse-update/

Description: http://asm.objectweb.org/eclipse/index.html

mpresley
+1: That is so cool...I will have to check it out. Have been feeling the urge to get closer to the byte code and this is a great way to do it!
Stu Thompson
A: 

I'm going to cheat and say the maven plugin. Then everything else can hang off that.

Plus, maven-eclipse-plugin takes care of the biggest single problem I have with eclipse: Setting your classpath.

tunaranch
A: 

I've just discovered Byecycle. This dependency viewer lets you see how pretty (or otherwise) your design is, and highlights any circular dependencies between classes, allowing you to take appropriate action.

Bill Michell
+10  A: 

If you need to get more insight in your code coverage EclEmma is pretty straightforward and useful

http://www.eclemma.org

Johan Pelgrim
A: 

There's some great stuff mentioned by others, but I'm going to put SQLExplorer out there, too. Maybe not as generally useful as Maven or FindBugs, but it's great for pulling any JDBC data source into the IDE so you can test it and explore the DB structure. It's also available as a standalone RCP app.

Ian McLaird
A: 

Visual Editor for quick GUI development.

supermedo
A: 

java.decompiler.free.fr/?q=jdeclipse Java Decomipler Plugin for eclipse. I thought, it is the most useful plugin.

Shashi Bhushan
+1  A: 

HyperAssist.

https://bugs.eclipse.org/bugs/show%5Fbug.cgi?id=159157

In my view, it's the single factor that puts Eclipse ahead of every other IDE in terms of actual productivity.

rwallace
+1  A: 

Fast Code eclipse plugin can be of help a little.

fastcodejava
A: 

FileSync has turned out to be really convenient when working with web applications, because it allows me to smoothly get incremental deployment on resource-type files, such as javascripts, JSPs, CSS files, and so on. It's simple to configure and just powerful enough to get the job done.

waxwing
+1  A: 

I couple of my favorites are Mylyn and CheckStyle

Ascalonian
A: 

JBoss Tools for quick and easy web application development.

Maksim Areshkau
+4  A: 

Resource Bundle Plugin

alt text

javaloper
yep this one is great
Michal Bernhard
A: 

I'd recommed Spring Source Tool Suite which is for enterprise Java development with Spring framework.

rpr
+1  A: 

EditBox

http://editbox.sourceforge.net/

Helper Method