Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Eclipse Save Actions

DZone's Guide to

Eclipse Save Actions

· Java Zone ·
Free Resource

Get the Edge with a Professional Java IDE. 30-day free trial.

I recently started using a feature in Eclipse 3.6.1 that I didn't notice before: the "Save Actions".
Basically you can configure some actions that will be done automatically when you save a Java source. Some of them are really useful, like Organizing the imports, adding 'final' to private member instances, etc. Here the screen-shot of it, with my preferences:

Eclipse Save Actions

Eclipse Save Actions

From now on, nomore unused imports and better immutable classes.

 

From http://en.newinstance.it/2011/02/10/eclipse-save-actions/

Get the Java IDE that understands code & makes developing enjoyable. Level up your code with IntelliJ IDEA. Download the free trial.

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}