MoreUnit

Thursday, 23 January 2014, 21:27

Tags: Eclipse MoreUnit TDD

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.

Read more


Maven Settings (Eclipse)

Thursday, 23 January 2014, 20:32

Tags: Eclipse Maven

The Maven preferences I use in Eclipse are described in this post.

Read more


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.

Read more


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.

Read more


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.

Read more