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.

Bug 197217 - HTML tags completion shows unwanted items when using a prefix
Summary: HTML tags completion shows unwanted items when using a prefix
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.0.1
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-30 07:39 UTC by Vladimir Riha
Modified: 2011-04-04 07:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2011-03-30 07:39:49 UTC
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)
Comment 1 Marek Fukala 2011-03-31 13:58:12 UTC
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.
Comment 2 Marek Fukala 2011-03-31 14:09:27 UTC
fixed in web-main#e86ec51fadd4
Comment 3 Quality Engineering 2011-04-01 08:39:13 UTC
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
Comment 4 Vladimir Riha 2011-04-04 07:00:53 UTC
verified.