tags:

views:

283

answers:

11

I was wondering what kind of tools people use to make their coding experience more enjoyable or easy. Especially in java.

Also, what kind of tools would be nice?

EDIT: Let's assume we all use some IDE that supports plugins... :-p

+3  A: 

well, primarily an IDE such as eclipse, intelliJ or netbeans

a code repository is also very useful (CVS or SVN)

pstanton
+8  A: 
  1. An IDE like IntelliJ, Eclipse, Netbeans. If you use IntelliJ, get addicted to Ctrl+Space and Alt+Enter
  2. Use debugger
  3. Use IDE built-in profiler or plugins like YourKit
  4. Build and continuous integration tool, ant, maven, buildr, TeamCity, Hudson, etc
  5. Java Coffee at CAFE BABE
Chandra Patni
Ritz
+1 for continuous integration
Jeff Storey
One more : JUnit. Unit testing is must for a developer.
Ritz
Ritz
LOL no, copy + paste is a design flaw: http://en.wikipedia.org/wiki/Copy_and_paste_programming
Kaleb Brasee
Actually, when I copy paste, it is usually a loop, which ends up being significantly different to the original. Identical copy pasting may be a designer's flaw
piggles
+1  A: 

Eclipse, Maven, Google Collections, Apache Commons, YourKit, and a 30" monitor!

Steven Schlansker
A friend mentioned maven the other day. I'm going to have to check it out.
piggles
+3  A: 

I like using the Eclipse EclEmma plugin to calculate my JUnit code coverage every time I run my tests.

Kaleb Brasee
+5  A: 

FindBugs is a nice tool and there are plugins for many IDE's.

dpp
+2  A: 
  • Netbeans IDE: the profiler and debugger are phenomenal. If you are unlucky enough to design GUIs in Swing, the GUI builder is excellent too.
  • TortoiseSVN or Subclipse plugin for Eclipse -- Faster and much less painful than using command line for Subversion.
  • Notepad++ (windows only): for quick viewing of source, and working with XML/HTML and so forth. If you aren't on doze, use the platform equivalent.
  • Espresso and quality port. The first is for when you can't figure out a tough problem. The second is to make grueling, awful parts of coding bearable. Yes, the alcoholic kind of port. Find your Ballmer Peak!
  • Edit: Google code: Search for similar projects, and see how other people implemented something tricky. Especially useful if you're having trouble figuring out how to implement an algorithm elegantly.
BobMcGee
+1  A: 

I saw a good list but I wanna add one more b'coz it helped me a lot and made my programming better. Hats off to google

:-)

Ritz
+2  A: 

All of the major IDEs others have suggested have great plugins for version control, building, and unit testing.

Use your debugger!

IntelliJ IDEA with it's awesome editing and the Key Promoter Plugin make Java editing very smooth.

Check out command-line tools like javap. Good luck!

Eric Wendelin
+1 for IntelliJ IDEA. And it's OpneSource now!
tulskiy
+1  A: 

CheckStyle to enforce coding standard, Cobertura for checking code coverage.

On a related note also check the book Java Power Tools
which covers around 30 open source tools that help to do better development with Java

sateesh
+1  A: 

Depending on the project one time saver could be: JRebel ( formely known as Java Rebel ) which allows you to reload classes dynamically without having to restart your VM.

Looks pretty awesome.

Here's a video: JRabel in action

OscarRyz
+1  A: 

Check out nWire for Java, it's an innovative code exploration plugin for Eclipse. The tool includes:

  • Code visualization - interactive graphical representation of components and associations.
  • Code navigation - unique navigation view shows all the associations and works with you while you write or read code.
  • Quick search - search as you type for methods, fields, file, etc.
zvikico