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 236362 - Namespace support in less files
Summary: Namespace support in less files
Status: RESOLVED DUPLICATE of bug 234639
Alias: None
Product: web
Classification: Unclassified
Component: CSS Preprocessors (SASS, LESS, ...) (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal with 3 votes (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
: 244683 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-09-25 11:28 UTC by ricktw
Modified: 2015-04-15 13:38 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 ricktw 2013-09-25 11:28:01 UTC
When you have functions inside a less namespace, Netbeans detects an error:
"Unexpected token WS found".

lesscss documentation: http://lesscss.org/#-functions
Example:

#bundle {
  .button () {
    display: block;
    border: 1px solid black;
    background-color: grey;
    &:hover { background-color: white }
  }
  .tab { ... }
  .citation { ... }
}

.classname {
  #bundle > .button;
}
Comment 1 Vladimir Riha 2014-05-26 09:40:28 UTC
*** Bug 244683 has been marked as a duplicate of this bug. ***
Comment 2 Milutin Kristofic 2015-04-15 13:38:36 UTC

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