Skip to content

pre-announcement of changes to LESS syntax #169

Closed
@braver

Description

@braver

A few months ago a new version of LESS was released that changed the root selector to source.css.less. The intention at the time was to bring the syntax in line with CSS, and thereby make more extensions like autocompletion and key bindings work for both out of the box. It got us 95% of the way there, but the recursion in LESS (and SCSS for that matter) makes it impossible to get there completely. In essence, the CSS syntax, and therefore its autocomplete features, leans heavily on the fact that properties and selectors are each in their own neatly delineated spaces. This doesn't always work for LESS, and the way extensions are inherited doesn't leave us another option than making a clean break.

So, I intend to release LESS 2.5 soon. It has important improvements that are only possible by moving a few steps away from the way the CSS package does things. It will also revert the root scope back to source.less. I would like to coordinate this release so that Vue users don't experience breakage again (sorry about last time!). If all goes well no-one has to notice anything. Perhaps we can pick a time and date to make the change?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions