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 249264 - Provide code completion for css element
Summary: Provide code completion for css element
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-10 13:47 UTC by Petr Pisl
Modified: 2014-12-12 09:12 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2014-12-10 13:47:00 UTC
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.
Comment 1 Petr Pisl 2014-12-10 15:28:47 UTC
Implemented in the web-main.
Comment 2 Quality Engineering 2014-12-11 12:59:39 UTC
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
Comment 3 Vladimir Riha 2014-12-12 09:12:04 UTC
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)