Tag Archives: eclipse

Create new junit tests in Eclipse with a keystroke

The Galileo version of Eclipse doesn’t ship with a default keybinding for creating a unit test for the current class, but you can add one easily enough. Navigate to Preferences > General > Keys, and search for “junit test case”: … Continue reading

Posted in Technical HOWTOs | Tagged , , | Leave a comment

IDEA versus Eclipse

IDEA has been giving me grief lately. Fed up with mysterious pauses, bugs in svn moves, and crashes even after performing cache-deletion voodoo in IDE, I’m back to trying Eclipse. Keystroke differences and functionality differences have been the major stumbling … Continue reading

Posted in Technical HOWTOs | Tagged , , , | 4 Comments

Simple Log4J eclipse template

Do you use eclipse and log4j? Do you have a template to add a static Logger instance in classes? Do you have to manually add the import? HA! NO MORE! Under Preferences > Java > Editor > Templates, click New… … Continue reading

Posted in Technical HOWTOs | Tagged , , | 2 Comments

How to set up native subversion (javahl) with Subclipse on Mac OS X

Note that this is for Ganymede (Eclipse 3.4.x). Install the javahl binding with MacPorts: sudo port install subversion +bash_completion sudo port install subversion-javahlbindings Run eclipse, and add this upgrade site: http://subclipse.tigris.org/update_1.4.x Select the “JavaHL Adapter” and “Subclipse” modules and click … Continue reading

Posted in Technical HOWTOs | Tagged , , | 3 Comments