Y
Y
yaroslav_void2020-01-30 16:27:12
Sass
yaroslav_void, 2020-01-30 16:27:12

How to show all available variables from less/scss files in VS Code?

There is a file variables.less, it contains variables @clr-primary: #fff and @clr-sub: #000;
For example, I write styles for some block in another less file
.block
{
color: @clr-(and at this moment I want it to show all variables in the project starting with CLR )
}

Webstorm has this functionality out of the box.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Arkhipov, 2020-01-30
@yaroslav_void

There are plugins for this task:
Less IntelliSense
SCSS IntelliSense

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question