D
D
Daniel58102020-10-21 14:21:59
css
Daniel5810, 2020-10-21 14:21:59

How to properly set up snippets in VS Code?

I would like snippets in sass to work in much the same way as in css. For example, when writing tac, the text-align: center tag was used in sass, how it works in css

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Daniil5810, 2020-10-23
@Daniil5810

Maybe someone will need it.
I solved this problem by forcing SASS in Emmet with the lines:
"emmet.includeLanguages": {
"Sass": "html"
}

G
Grigory Morgachev, 2020-10-21
@GrinMorg

The Emmet plugin is responsible for this. It worked well for me with sass right after installation.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question