MoreUnit
Thursday, 23 January 2014, 21:27
MoreUnit is a great Eclipse plugin which makes writing and maintaining tests easier. Rename classes or methods and MoreUnit will rename the corresponding test code too. Move classes and MoreUnit will move the corresponding test classes.
Maven Settings (Eclipse)
Thursday, 23 January 2014, 20:32
The Maven preferences I use in Eclipse are described in this post.
Java Typing (Eclipse)
Tuesday, 31 December 2013, 19:05
Tags: Eclipse
While checking out the Eclipse preferences I found two pretty interesting options for the Java editor: Automatically insert at correct position and Escape text when pasting into a String literal.
Java Cleanup (Eclipse)
Tuesday, 31 December 2013, 18:49
Tags: Eclipse
The previous post described how to configure the save actions to clean up your code every time you save a Java file. A similar result can be achieved by configuring the clean up settings and then manually triggering a clean up by clicking right -> Source -> Clean Up.
Save Actions (Eclipse)
Tuesday, 31 December 2013, 18:20
Tags: Eclipse
The Java editor save actions are a very useful feature in Eclipse which will help you have more uniform and clean-looking code. You can configure a set of actions that Eclipse will automatically perform on a Java file when you save it. This way you can configure (part of) your coding conventions as save actions and Eclipse will correct the code if it is not compliant with these coding conventions.