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 223702 - "Organize Members" should be available as "On Save" action
Summary: "Organize Members" should be available as "On Save" action
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal with 4 votes (vote)
Assignee: Dusan Balek
Depends on:
Reported: 2012-12-12 09:14 UTC by markiewb
Modified: 2016-11-11 21:31 UTC (History)
2 users (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description markiewb 2012-12-12 09:14:12 UTC
[ JDK VERSION : 1.7.0_09 ]

EXPECTED: The hint "Organize Members" should also be available as an options
for  the "On Save" action (Tools>Options>Editor>On Save>Java). So when saving
is called.
Comment 1 markiewb 2013-05-22 07:19:59 UTC
@Dusan: Recently you fixed for 7.4, so it would be very useful that this corresponding issue will be fixed too.

So it would be easier for eclipse switchers to use NB and they still have their "killer feature" they are used to have in eclipse.
Comment 2 mihai.chintoanu 2015-05-08 11:41:14 UTC
I think this is an important feature. Our team's coding conventions require us to order members by visibility and then alphabetically. It's not hard to follow the rule when defining a member, but a problem arises then a member's visibility or name changes, because then you have to move it to its correct location inside the class, and it's tedious to do that manually every time, or before each save. It should really be an action on save.

Developers should concentrate on writing code, not waste time with trivial things like this, and the IDE should really help them achieve this.
Comment 3 markiewb 2015-05-08 13:15:53 UTC Please do not change the version. This field states the first version, when the bug/rfe has been reported.

Reverting version back to 7.3
Comment 4 Christian Lenz 2016-11-11 21:31:40 UTC
I know this should be implemented into the core but maybe it could be possible to have this feature in your Eclipse formatter plugin?