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.
In html (or php...) document, if I type <ht and invoke code completion, <html should be automatically completed since it is the only option. But it's not, after the invocation list for code completion is displayed with only one option. Product Version: NetBeans IDE Dev (Build 201103300400) Java: 1.6.0_24; Java HotSpot(TM) Client VM 19.1-b02 System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
The reason why this happen is that the completion window contains lot of results which shouldn't be there at all. If you type <htm| and invoke CC the only <html> tag should be offered. Actually it is offered but along with all the html tags below. Since there isn't only one item the completion doesn't auto-insert it.
fixed in web-main#e86ec51fadd4
Integrated into 'main-golden', will be available in build *201104010400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/e86ec51fadd4 User: Marek Fukala <mfukala@netbeans.org> Log: #197217 - HTML tags completion shows unwanted items when using a prefix
verified.