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 241374

Summary: Mixins from imported file not offered in code completion
Product: web Reporter: Vladimir Riha <vriha>
Component: CSS Preprocessors (SASS, LESS, ...)Assignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal CC: Jenselme
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description Vladimir Riha 2014-02-04 10:32:18 UTC
I have simple HTML5 project with 2 less files:

  - newstyle.less

@import "par.less";

div{
    .
}

 
  - par.less


.mixin(@aaa){}



Now in newstyle.less, try to invoke cc after the dot, .mixin from par.less should be offered but instead only css properties are. The same works on Linux


Product Version: NetBeans IDE Dev (Build 201402040001)
Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b69
Runtime: Java(TM) SE Runtime Environment 1.8.0-b128
System: Mac OS X version 10.8.5 running on x86_64; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2014-02-04 16:47:35 UTC
The same happens with Sass as well
Comment 2 skygo 2014-07-25 12:46:28 UTC
I try it today during netcat tests.

It was working well and after modifying imported file mixing it was only showing the css properties. And after another edit was showing mixin again.

On windows OS.
Comment 3 Vladimir Riha 2014-07-25 12:50:07 UTC
Yep, if I remember correctly, this is issue only on Mac. 

Thank you for testing :)
Comment 4 Jenselme 2016-09-04 12:34:36 UTC
Cannot reproduce on linux for SASS on 201609020002