Skip to content

LESS attribute from variable reports warnings. #270

@WORMSS

Description

@WORMSS

LESS attribute from variable reports warnings.

.someclass {
    @some-data-attribute: ~"data-something"; 
    
    &[@{some-data-attribute}] {
        color: red;
    }
}

LESS Plugin for Eclipse shows error:

Multiple markers at this line
- no viable alternative at input '@' 
- mismatched input ']' expecting '}'
- no viable alternative at input ''

This is valid less code. It compiles correctly during ant build, and tested with an online less/css compiler.

Eclipse: Neon 4.6.0
LESS Plugin for Eclipse 1.0.22
OS: Windows 10 Pro 64bit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions