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.
It would be useful if the javascript code completion offers in document.getElementById('|') and document.getElementsByClassName('|') appropriate items from the project. For method document.getElementById should offer the used ids used in html files and in method document.getElementsByClassName should offer all css classes defined in the project.
Implemented in the web-main.
Integrated into 'main-silver', will be available in build *201412111033* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/33c797194146 User: Petr Pisl <ppisl@netbeans.org> Log: #249264 - Provide code completion for css element
As I mentioned earlier, it shows all IDs (from HTML and CSS) and the same for classses. Verified Product Version: NetBeans IDE Dev (Build 201412120001) Java: 1.7.0_71; Java HotSpot(TM) Client VM 24.71-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_71-b14 System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)