This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 182112

Summary: "Save actions" would be very useful
Product: editor Reporter: nicolo <nicolo>
Component: Actions/Menu/ToolbarAssignee: Miloslav Metelka <mmetelka>
Status: RESOLVED DUPLICATE    
Severity: normal CC: dziastinux
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description nicolo 2010-03-16 13:38:15 UTC
Implement "Save actions" like in Eclipse, in which you can choose what to do automatically on save of a java class:
These actions could be:
- Fix import
- Add @Override annotations
- Add final to private members if possible
- Remove trailing whitespace
- Add missing braces

There shoud a place where to configure what action to choose.
Comment 1 David Strupl 2011-04-21 13:29:27 UTC

*** This bug has been marked as a duplicate of bug 140719 ***