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 245876

Summary: Failing test for HTML elements completion inside rule
Product: web Reporter: Vladimir Riha <vriha>
Component: CSS Preprocessors (SASS, LESS, ...)Assignee: issues@web <issues>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mfukala
Priority: P2 Keywords: TEST
Version: 8.0.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Vladimir Riha 2014-07-22 13:42:39 UTC
Please have a look at following SCSS:

@for $i from 1 through 3 { 
    .item-#{$i} { 
        
    }
}


If you invoke cc at the empty line (the one below ".item-"), it should offer HTML elements and CSS properties but if offers only CSS Properties. 

This used to work in 8.0, the test started to fail in build 201407180001.



Product Version: NetBeans IDE Dev (Build 201407220001)
Java: 1.8.0_05; Java HotSpot(TM) Client VM 25.5-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13
System: Linux version 3.13.0-32-generic running on i386; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2014-07-22 13:49:11 UTC
Simple case to reproduce:

div{
// cc here does not offer HTML elements

}
Comment 2 Marek Fukala 2014-07-23 08:51:51 UTC

*** This bug has been marked as a duplicate of bug 236137 ***