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.
Development build #200604070200 of NetBeans 5.5 with new XML editor completion API Windows XP, JDK 1.5.0_05 build #05 Description: ============ New code completion API is helpful only when desired item is selected right in the beginning. If user types a character to reduce the list of suggestions and then presses Enter, it will simply append selected item after the character. It's very annoying as one has to then manually correct result of this feature. Steps to reproduce: =================== 1. Create new sample web application project. 2. Create new XML file in this project. 3. Insert the following code at line 2: <!DOCTYPE root [ <!ENTITY boolean "true|false"> ]> 4. Type '&' character at line 12 between <root> elements. 5. Code completion shows up. Type 'b' character to reduce list of suggestions. 6. Only "boolean" will be suggested. Press Enter to complete it. 7. The statement gets expanded to &bboolean;
*** Issue 74643 has been marked as a duplicate of this issue. ***
*** Issue 74972 has been marked as a duplicate of this issue. ***
fixed Checking in XMLCompletionQuery.java; /cvs/xml/text-edit/src/org/netbeans/modules/xml/text/completion/XMLCompletionQuery.java,v <-- XMLCompletionQuery.java new revision: 1.37.54.1.2.3; previous revision: 1.37.54.1.2.2 done
Verified in development build #200604210200 of NetBeans 5.5.