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 240061

Summary: Organize Members hint blocks code completion
Product: java Reporter: dbcurtis <dbcurtis>
Component: HintsAssignee: Svata Dedic <sdedic>
Status: RESOLVED WONTFIX    
Severity: normal CC: alied, markiewb
Priority: P3 Keywords: PERFORMANCE
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 206363
Attachments: nps snapshot

Description dbcurtis 2014-01-07 09:42:56 UTC
This issue was reported manually by sdedic.
It already has 2 duplicates 


Build: NetBeans IDE 7.4 Beta (Build 201307092200)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b17
OS: Windows 8

User Comments:
alied: invoking CC with broken (uncompilable code) projects

dbcurtis: I do not remember, but this version is very much better that that last released version



Maximum slowness yet reported was 8052 ms, average is 5065
Comment 1 dbcurtis 2014-01-07 09:42:58 UTC
Created attachment 143661 [details]
nps snapshot
Comment 2 Svata Dedic 2014-01-07 09:45:24 UTC
probably complex file, comments are copied to the organized result just to check whether some members must be moved. 
Organize members could instead check for symbol reordering and not diff everything. The drawback would be that the hint would not be shown if just code beautification should occur - IMHO acceptable price for performance improvement. The optimization could be disabled in hint's options.
Comment 3 Martin Balin 2016-07-07 07:17:51 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss