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 244656 - Directives in less not offered in certain case
Summary: Directives in less not offered in certain case
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: CSS Preprocessors (SASS, LESS, ...) (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-22 14:31 UTC by Vladimir Riha
Modified: 2014-10-06 13:27 UTC (History)
0 users

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 2014-05-22 14:31:15 UTC
Have following Less file:
------// file start

@


.mixinB {
    border-top: dotted 1px black;
}


-----// file end


If you invoke cc after the @ on line 2, nothing is offered. It works if you invoke cc and then type @ to reduce suggestions.



Product Version: NetBeans IDE 8.0 (Build 201403101706)
Updates: NetBeans IDE is updated to version NetBeans 8.0 Patch 1.1
Java: 1.7.0_60; Java HotSpot(TM) Client VM 24.60-b09
Runtime: Java(TM) SE Runtime Environment 1.7.0_60-b19
System: Linux version 3.2.0-60-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Marek Fukala 2014-07-17 12:52:41 UTC
Actually it is far worser :-)

Consider following css source code:
@| [1]
.myclass {
}
@| [2]


when put to pure css/scss/less files the results are following:

CSS:
1: correct, all directives
2: bug, just namespace directive

LESS:
1: bug - nothing
2: bug - just namespace directive

SCSS:
1: correct - all css directives plus scss directives
2: bug - missing css directives except namespace