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.
[ BUILD # : 200511081900 ] [ JDK VERSION : 1.5.0_05 ] When you start typing "<" it is shown, but later Ctrl-space doesnt work
Nothing has changed in the ant/grammar module recently, and its unit tests still pass. I too have noticed (on Linux) that sometimes the code completion popup simply doesn't appear, for no apparent reason. I am guessing that the problem lies in the xml/text-edit module, but I don't know of any way to turn on logging for this module to see what it is passing to ant/grammar (if anything) and what it is getting back.
The issue is 100% reproducible. The CC for XML files doesn't work when you press Ctrl+space. Using completion autopopup makes it working. It seems to me that the problem is a regression in editor module (The XML CC is not rewritten to use the new editor completion API). I have already asked Dusan Balek to look at it.
This really seems not to be a XML editor issue => reassigning to editor.
Has to be fixed for Beta 2 as functionality is completely missing.
Unfortunately this is regression caused by fix of issue 67922. We will attempt to fix by invoking the legacy completion functionality from the new completion implementation in case there are no new providers (but we will not re-add the old completion actions). This way we should be able to retain the issue above fixed and fix this one as well.
Fixed in [maintrunk]. A terrible hack added to allow for calling the XML completion via the legacy completion infrastrucure. Checking in src/org/netbeans/modules/editor/completion/CompletionImpl.java; /cvs/editor/completion/src/org/netbeans/modules/editor/completion/CompletionImpl.java,v <-- CompletionImpl.java new revision: 1.32; previous revision: 1.31 done
Fix in [maintrunk] cont. Checking in src/org/netbeans/modules/editor/completion/CompletionImpl.java; /cvs/editor/completion/src/org/netbeans/modules/editor/completion/CompletionImpl.java,v <-- CompletionImpl.java new revision: 1.33; previous revision: 1.32 done Checking in org/netbeans/editor/ext/ListCompletionView.java; /cvs/editor/libsrc/org/netbeans/editor/ext/ListCompletionView.java,v <-- ListCompletionView.java new revision: 1.15; previous revision: 1.14 done
After second commit it works without exceptions, please proceed with commit to release50_beta2 branch. I will verify it on beta build tomorrow.
Fixed in release50_beta2: Checking in completion/src/org/netbeans/modules/editor/completion/CompletionImpl.java; /cvs/editor/completion/src/org/netbeans/modules/editor/completion/CompletionImpl.java,v <-- CompletionImpl.java new revision: 1.27.2.2; previous revision: 1.27.2.1 done Checking in libsrc/org/netbeans/editor/ext/ListCompletionView.java; /cvs/editor/libsrc/org/netbeans/editor/ext/ListCompletionView.java,v <-- ListCompletionView.java new revision: 1.14.2.1; previous revision: 1.14
Verified in release50_beta2 and trunk.