Reputation: 10151
Eclipse has this nice feature 'Save Actions' to perform a bunch of actions, every time a file is saved.
Whenever I change the settings of the 'Save Actions' I have to touch all files by hand and save them to perform this actions.
E.g. I switched my project to java 7 and activated
Add missing '@Override' annotations to implementations of interface methods
When I save a java source, the missing @Override
annotations are added. But can I trigger eclipse to do this for all files of my project at once?. (Like Source Format which can be performed for the hole project via context menu).
Upvotes: 2
Views: 1406
Reputation: 32915
Right-click on the project (or a package, or a selection of classes, or multiple projects) and choose Source > Clean up...
Upvotes: 4