Build: NetBeans IDE 7.0 (Build 201104080000)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Windows 7
tnleeuw: The code completion always hangs when directly after making a small change in class A, I want to make a change in class B.
Often these are changes like adding a method, or a field.
When I then want to make changes in another (related) class I always have to wait for CC.
Now in this case I wanted to directly invoke the new method... OK, fair enough, you can't show that method yet. But other results were available perhaps?
In many other cases, all I want to insert is something like a Java keyword! Which should always be available, and quickly, if the syntax permits it! For that I really do not care to wait for the scanning of the impact on my code, of adding 1 method to 1 class! An operation which easily takes half a minute or more!
GUEST: typing the program code - nothing else was running ...
Maximum slowness yet reported was 7918 ms, average is 3895
Created attachment 109185 [details]
Don't see any pointers to the webservice functionality.
In WSCompletionProvider$WsCompletionQuery, call to JavaSource.runUserActionTask should be replaced with JavaSource.runWhenScanFinished and a message "Scanning in progress..." should be displayed similarly to e.g. JavadocCompletionOuery.
Integrated into 'main-golden'
User: Denis Anisimov <email@example.com>
Log: Fix for BZ#199817 - CodeCompletion took 2089 ms.