TheRealSyler / vscode-sass-indented

Sass indented syntax support for VSCode
https://marketplace.visualstudio.com/items?itemName=Syler.sass-indented
Other
44 stars 8 forks source link

@use support #26

Closed theovgl closed 3 years ago

theovgl commented 4 years ago

The SASS team seems to have created a new feature called @use. It seems to be very useful and will even replace @import in the long term. Unfortunately I don't have the impression that sass-indented is compatible.

Source : Css-Tricks

TheRealSyler commented 4 years ago

thanks for making me aware, i will try to add it to the next version.

Sass Modules: https://github.com/sass/sass/blob/master/accepted/module-system.md#built-in-modules-1

TheRealSyler commented 4 years ago

Note: add meta module before closing.

Limonische commented 4 years ago

If you use @use like so:

@use 'something' as somethingElse

"as" and "somethingElse" lack syntax highlighting.

Limonische commented 4 years ago

Also since its related, there is no support for the new @forward feature; And everything typed after @use, @import or @forward also has no syntax highlighting.

TheRealSyler commented 4 years ago

it works on my end not sure what might cause the lack of syntax highlighting, ill look into the @forward thing. image