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.
A simple example: @small: ~"only screen and (min-width: 320px) and (max-width: 479px)"; @medium: ~"only screen and (min-width: 480px) and (max-width: 767px)"; .build-rules(@mediasize) { @media @@mediasize { display: block; } } .build-rules(small); .build-rules(medium); The directive @@mediasize will not be recognized and marked as an error, but the less compiler has no problem with this subsitution. See: http://lesscss.org/features/#variables-feature-variable-names
Fixed in dev build. Thank you for your report. http://hg.netbeans.org/web-main/rev/6cf093065be4
Integrated into 'main-silver', will be available in build *201511250002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/6cf093065be4 User: Milutin Kristofic <mkristofic@netbeans.org> Log: #256641 - Variable substitution not recognized in @media directive