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 227742 - NetBeans shoult not offer CSS class names in ID attribute autocomplete
Summary: NetBeans shoult not offer CSS class names in ID attribute autocomplete
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-20 20:38 UTC by ecerichter
Modified: 2013-08-27 12:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot of the wrong offer (16.30 KB, image/png)
2013-03-20 20:39 UTC, ecerichter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ecerichter 2013-03-20 20:38:34 UTC
Product Version = NetBeans IDE Dev (Build 201303192300)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_17
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.7-b01

NetBeans is currenctly offering CSS class names (actually, invalid ones!) as autocomplete for ID attribute.
The ID attribute is expected to be filled with unique values, so auto-complete is not even desirable, and if it is offered should warn developers when duplicated.
Comment 1 ecerichter 2013-03-20 20:39:01 UTC
Created attachment 132871 [details]
screenshot of the wrong offer
Comment 2 Marek Fukala 2013-08-27 12:23:23 UTC
sounds like a bug, but I believe a fixed one.