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.
Write in a html file <a |> and invoke the CC on possition where char | is. No items are offered. When you write <a | > (space between cursor and >) then the CC works.
*** Issue 52943 has been marked as a duplicate of this issue. ***
I have a fix for this problem, but I will integrate it tomorrow since HTML syntax classes are going to be moved to a separate module HTML and the classes move is already prepared.
*** Issue 52986 has been marked as a duplicate of this issue. ***
fixed in trunk Checking in HTMLCompletionQuery.java; /cvs/html/editor/lib/src/org/netbeans/editor/ext/html/HTMLCompletionQuery.java,v <-- HTMLCompletionQuery.java new revision: 1.3; previous revision: 1.2 done Checking in HTMLSyntaxSupport.java; /cvs/html/editor/lib/src/org/netbeans/editor/ext/html/HTMLSyntaxSupport.java,v <-- HTMLSyntaxSupport.java new revision: 1.3; previous revision: 1.2 done
I am sorry for reopening but it still does not work fully. Check this: 1. Have cursor at position | in the following text: <h1 |> 2. Invoke code completion, it shows up. 3. Type 'a' char. The suggestions disappear.
The problem is caused by a bug in HTML syntax parser. I created a new issue and make this depending on it.
this issue depends on issue #53417
fixed the last problem. Checking in HTMLCompletionQuery.java; /cvs/html/editor/lib/src/org/netbeans/editor/ext/html/HTMLCompletionQuery.java,v <-- HTMLCompletionQuery.java new revision: 1.6; previous revision: 1.5 done
Verified.