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.
Marku, follow steps from issue #232852 (download and open bootstrap) - many LESS files have the error badge but it should not I guess. Thanks. Product Version: NetBeans IDE Dev (Build 20130718-58d6a3ece26d) Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15 System: Linux version 3.8.0-26-generic running on amd64; UTF-8; cs_CZ (nb)
Adding reporter of issue #232852 to CC so he can confirm this bug. Thanks.
#1: .img-responsive(@display: block;) { display: @display; }
#2: &.left { #gradient > .horizontal(@start-color: rgba(0,0,0,.5); @end-color: rgba(0,0,0,.0001)); }
#3: @media (min-width: @grid-float-breakpoint) { .navbar-right { .dropdown-menu { .pull-right > .dropdown-menu(); } } } .progress-striped .progress-bar { #gradient > .striped(@progress-bar-bg); background-size: 40px 40px; } #4: .modal { &.in .modal-dialog { .translate(0, 0)} }
The Problem is the less namespace feature: 1: #bundle { .button () { display: block; border: 1px solid black; background-color: grey; &:hover { background-color: white } } } #header a { color: orange; #bundle > .button; // <- SYNTAX ERROR } 2: .unlock(@value) { .doSomething() { declaration: @value; } } #namespace() { // <- SYNTAX ERROR .unlock(5); } #use-namespace { #namespace > .doSomething(); // <- SYNTAX ERROR } http://lesscss.org/#-namespaces
(In reply to Marek Fukala from comment #4) > > #4: > > .modal { > &.in .modal-dialog { .translate(0, 0)} > } Seems that Netbeans is a little bit stricter. This works: .modal { &.in .modal-dialog { .translate(0, 0); } }
(In reply to Marek Fukala from comment #2) > #1: > > .img-responsive(@display: block;) { > display: @display; > } Same here, this works: .img-responsive(@display: block) { display: @display; }
Bug has Duplicate #236362 https://netbeans.org/bugzilla/show_bug.cgi?id=236362
The only unresolved issue from here is duplicate of 234639 *** This bug has been marked as a duplicate of bug 234639 ***
There are some other issues too: &:extend(.clearfix all); &.in .modal-dialog { .translate(0, 0) } .striped(@color: rgba(255,255,255,.15); @angle: 45deg) .col-@{class}-@{index}
&:extend(.clearfix all); &.in .modal-dialog { .translate(0, 0) } .striped(@color: rgba(255,255,255,.15); @angle: 45deg) is fixed in dev build. Product Version: NetBeans IDE Dev (Build 20150416-ad691c0c9b6c) Java: 1.8.0_40; Java HotSpot(TM) 64-Bit Server VM 25.40-b25 Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b26 For this one .col-@{class}-@{index} I will create new report. I am trying to clean this collection bugs, and have for each issue separate bug report. Thank you for understanding.
Here is new bug for less interpolation. https://netbeans.org/bugzilla/show_bug.cgi?id=25191