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 204504 - Code completion for pseudo-classes doesn't work properly
Summary: Code completion for pseudo-classes doesn't work properly
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 7.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-01 12:10 UTC by Vladimir Riha
Modified: 2011-11-03 15:35 UTC (History)
1 user (show)

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-11-01 12:10:39 UTC
In blank new css file (inside php project), type "div::" and invoke cc after the second ":". Items like after, before etc. should be offered, but nothing is. Or in better case, html elements are offered (div, h1...) and the pseudo-classes are at the end of the list. Not sure why sometimes nothing is offered and sometimes both html elements and pseudo-classes are. 

Product Version: NetBeans IDE Dev (Build 201111010600)
Java: 1.7.0_01; Java HotSpot(TM) Client VM 21.1-b02
System: Linux version 3.0.0-12-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2011-11-01 12:13:29 UTC
Possibly the same goes for pseudo-elements:

div:|

offers nothing, while

div:|{
}

Offers again html tags and pseudo-elements at the end. Not sure if I should file a new bug for pseudo-elements...
Comment 2 Marek Fukala 2011-11-01 12:24:20 UTC
reproducible *at the end of the css file*. Works fine somewhere in the content.
Comment 3 Marek Fukala 2011-11-01 14:34:09 UTC
fixed in web-main#3495458cabb7
Comment 4 Marek Fukala 2011-11-01 14:36:16 UTC
disregard the previous changeset - this one is correct: web-main#064b5a70a9aa
Comment 5 Quality Engineering 2011-11-02 15:17:22 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/064b5a70a9aa
User: Marek Fukala <mfukala@netbeans.org>
Log: #204504 - Code completion for pseudo-classes doesn't work properly
Comment 6 Vladimir Riha 2011-11-02 16:49:18 UTC
verified

Product Version: NetBeans IDE Dev (Build 201111020600)
Java: 1.7.0_01; Java HotSpot(TM) Client VM 21.1-b02
System: Linux version 3.0.0-12-generic-pae running on i386; UTF-8; en_US (nb)
Comment 7 Quality Engineering 2011-11-03 15:35:03 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/064b5a70a9aa
User: Marek Fukala <mfukala@netbeans.org>
Log: #204504 - Code completion for pseudo-classes doesn't work properly