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 236137 - Sass: Comment affects code completion results
Summary: Sass: Comment affects code completion results
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Preprocessors (SASS, LESS, ...) (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
: 245876 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-09-19 11:26 UTC by Vladimir Riha
Modified: 2014-07-25 02:37 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 2013-09-19 11:26:04 UTC
Please try following in Sass file

@for $i from 1 through 3 { 
    @media tv {  
        /*cc;51; ;div,span;0*/
        
 
    }
}

and invoke cc at line below the comment, media query items are offered, now if you remove the line with comment and repeat again, HTML elements are offered


Product Version: NetBeans IDE Dev (Build 201309190428)
Java: 1.8.0-ea; Java HotSpot(TM) Client VM 25.0-b49
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b107
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Marek Fukala 2014-07-17 09:39:56 UTC
Reproducible. There's another similar issue:

div {  
     
     | --- just css properties offered here
        
     /*cc;51; ;div,span;0*/
        
     | --- both css properties and elements offered here
        
}
Comment 2 Marek Fukala 2014-07-17 12:37:42 UTC
fixed in web-main#0bcf704e60cd
Comment 3 Quality Engineering 2014-07-18 01:53:11 UTC
Integrated into 'main-silver', will be available in build *201407180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/0bcf704e60cd
User: Marek Fukala <mfukala@netbeans.org>
Log: #236137 - Sass: Comment affects code completion results
Comment 4 Vladimir Riha 2014-07-22 13:58:17 UTC
Marku could you please look at it again? It seems like HTML elements are not offered at all in your sample from comment #1 and probably regression in issue 245876 is the same/similar problem (please make it a dupl. if that's the case). Thank you in advance
Comment 5 Vladimir Riha 2014-07-22 13:59:06 UTC
...cc'ing Marek
Comment 6 Marek Fukala 2014-07-23 08:51:51 UTC
*** Bug 245876 has been marked as a duplicate of this bug. ***
Comment 7 Marek Fukala 2014-07-23 09:55:42 UTC
searching for changes
summary:     #236137 - html selectors completion in the rule body
Comment 8 Quality Engineering 2014-07-25 02:37:33 UTC
Integrated into 'main-silver', will be available in build *201407250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/37ddaafdc138
User: Marek Fukala <mfukala@netbeans.org>
Log: #236137 - html selectors completion in the rule body