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 213161 - Save actions
Summary: Save actions
Status: RESOLVED DUPLICATE of bug 140719
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 7.1.2
Hardware: PC Windows 7
: P3 normal with 2 votes (vote)
Assignee: Miloslav Metelka
Depends on:
Reported: 2012-05-29 13:55 UTC by javydreamercsw
Modified: 2013-08-10 14:48 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description javydreamercsw 2012-05-29 13:55:09 UTC
In Eclipse, you can configure different things to happen every time a file is saved, such as formatting the code, fixing imports, cleaning up white space, etc. This I have not been able to do in NetBeans.
Comment 2 markiewb 2013-08-10 14:48:39 UTC
NetBeans 7.3 introduces SaveActions. #140719

For example NB7.4 provides the following save actions for the java editor
* Reformat 
* Remove trailing whitespace
* Remove unused imports
* Organised imports

I propose to open separate issues if you like to see more.

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