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.
Organize members does not do all changes at single invocation. Steps to reproduce: 1) change Code Generation settings - turn on 'Sort Members by Visibility' and change order to Default, Public, Private, Protected 2) have a code public void publicMethod() {} private void privateMethod() {} protected void protectedMethod() {} void method() {} void method2() {} void method3() {} 3) invoke Organize members several times: after 1st invocation--> void method() {} public void publicMethod() {} void method2() {} private void privateMethod() {} void method3() {} protected void protectedMethod() {} after 2nd invocation--> void method() {} void method2() {} public void publicMethod() {} void method3() {} private void privateMethod() {} protected void protectedMethod() {} after 3rd invocation--> void method() {} void method2() {} void method3() {} public void publicMethod() {} private void privateMethod() {} protected void protectedMethod() {} Product Version: NetBeans IDE Dev (Build 201210100002) Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b03 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb) User directory: C:\Users\jprox\AppData\Roaming\NetBeans\dev Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\dev
Confirmed. The same is true for "Members Sort Order".
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/efbb3e4fe746
Integrated into 'main-golden', will be available in build *201211270002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/efbb3e4fe746 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #219952: Organize members does not work at one invocation - fixed.