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 - Organize Members hint blocks code completion
Summary: Organize Members hint blocks code completion
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2014-01-07 09:42 UTC by dbcurtis
Modified: 2016-07-07 07:17 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 206363


Attachments
nps snapshot (32.06 KB, application/nps)
2014-01-07 09:42 UTC, dbcurtis
Details

Note You need to log in before you can comment on or make changes to this bug.
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