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 does not perform instant substitution if suggestions are reduced to single item. Steps to reproduce: =================== 1. Create new sample web application project. 2. Create new XML file in this project. 3. Type '<' char after <root> at line 11. 4. Type '/' char and the statement should immediatelly be completed to <root></root>
Not so big problem since at least the CC with the end tag is opened.
The described behaviour is correct. The instant substitution works only when user invokes the CC explicitly by pressing Ctrl+space, not when the CC is opened when user types a completion 'hotchar' (e.g. < for XML). If you do not like this behaviour you have to fill an issue against the completion infrastructure.
Okay, I thought this works in Java editor but does not either. Verifying as invalid issue.