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.
Summary: | False positive LESS CSS parsing error hints | ||
---|---|---|---|
Product: | web | Reporter: | void15 |
Component: | CSS Preprocessors (SASS, LESS, ...) | Assignee: | Milutin Kristofic <mkristofic> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | tmysik |
Priority: | P3 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Windows 8.1 x64 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
void15
2016-10-04 13:23:07 UTC
Editor indicates false positive LESS CSS parsing error. Example: @classname_in_variable: inner; .classname { &__@{classname_in_variable} { /** error here: Unexpected token IDENT found **/ height:0; } } This gets compiled correctly to: .classname__inner { height: 0; } However, Netbeans complains about the syntax. This also appears using hyphens (or other characters) instead of underscores after the & operator (resulting in 'Unexpected token AT_SIGN found'). Yes, Netbeans had a problem with less interpolation in element name. Fixed in dev build: http://hg.netbeans.org/web-main/rev/e55cb47a3e24 Integrated into 'main-silver', will be available in build *201611050002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/e55cb47a3e24 User: Milutin Kristofic <mkristofic@netbeans.org> Log: #268338 - False positive LESS CSS parsing error hint |