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 227882 - Issue with code completion in SCSS
Summary: Issue with code completion in SCSS
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: CSS Preprocessors (SASS, LESS, ...) (show other bugs)
Version: 8.0.2
Hardware: PC Linux
: P4 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-25 07:46 UTC by Vladimir Riha
Modified: 2015-07-14 22:55 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 Vladimir Riha 2013-03-25 07:46:35 UTC
Please try:


$kocka:1;

@mixin left($dist) {
    float: left;
    margin-left: $dist;
  |   
}

invoke cc at "|" and type $ => no suggestions. To get scss completion, you have to type $ and then invoke cc



Product Version: NetBeans IDE Dev (Build web-main-10157-on-20130325)
Java: 1.7.0_17; Java HotSpot(TM) Client VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02
System: Linux version 3.2.0-39-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Marek Fukala 2013-03-25 08:08:22 UTC
as designed - do you find this as non intuitive?
Comment 2 Vladimir Riha 2013-03-25 08:12:02 UTC
I'd expect to get variables as well but I see you probably don't want to mix scss and css in this case.
Comment 3 thegame 2015-07-14 22:55:48 UTC
I suggest that you invoke cc when the user types $ or @(for LESS). We use the variables a lot in these files and it would be tedious to do ctrl+space every time.