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.
Appears to be a very recent regression; noticed only in 040914. When I invoke code completion (Ctrl-Space), I get an appropriate list of completions. But when I start typing a prefix of the (e.g.) method I want, the list does not change to include only matches to the new prefix. Let me know if it does not happen for you; I can try to check older builds and come up with a test case.
*** Issue 49116 has been marked as a duplicate of this issue. ***
I've tested last build of beta2 and the regression does not seem to occur there. The caret and document listeners that the CC attaches are not fired properly. I've searched through the commits made on the editor side but there does not seem to be anything suspicious. We will continue searching for the cause.
The root cause of the problem seems to be an ancient fix of the issue #4942 which prevents synchonous source parsing to be invoked from AWT during the code completion autopopup. To check whether the source is already parsed, this fix uses the SourceElement.getStatus() method which recently changed its behavior (see http://java.netbeans.org/source/browse/java/src/org/netbeans/modules/java/bridge/SrcElementImpl.java.diff?r1=1.8&r2=1.9). However, since the java source parsing is always invoked asynchonously on AWT now (via calls to the new Java/JMI infrastructure) the original fix can be removed. Fixed in [maintrunk]. Checking in src/org/netbeans/modules/editor/java/NbJavaSyntaxSupport.java; /cvs/editor/src/org/netbeans/modules/editor/java/NbJavaSyntaxSupport.java,v <-- NbJavaSyntaxSupport.java new revision: 1.59; previous revision: 1.58 done Checking in libsrc/org/netbeans/editor/ext/Completion.java; /cvs/editor/libsrc/org/netbeans/editor/ext/Completion.java,v <-- Completion.java new revision: 1.36; previous revision: 1.35 done Checking in libsrc/org/netbeans/editor/ext/ExtSyntaxSupport.java; /cvs/editor/libsrc/org/netbeans/editor/ext/ExtSyntaxSupport.java,v <-- ExtSyntaxSupport.java new revision: 1.25; previous revision: 1.24 done
BTW: There hasn't been a daily build for 2 days now, what gives?
*** Issue 49261 has been marked as a duplicate of this issue. ***
Verified.