pranaygp / vscode-css-peek

A vscode extension for peeking at CSS definitions from a class or id tag in HTML
MIT License
145 stars 32 forks source link

SASS ampersand does not support #54

Closed ilyalesik closed 4 years ago

ilyalesik commented 5 years ago

VS Code can't find class definition, created with ampersand at SASS file:

.some-block {
    width: 100%;
    height: 500px;

    &__description {
        margin: 22px 0;
    }
}

In this example, CSS Peek will find .some-block definition, but can't find .some-block__description.

pucelle commented 5 years ago

I wrote another extension based on CSS Peek, which supports ampersand reference. try CSS Navigation: https://github.com/pucelle/vscode-css-navigation

pranaygp commented 4 years ago

Fixed in 4.0.0+