menu

arrow_back VSCode - automatic creation of open and close brackets in CSS?

by
1 vote
In Visual Studio Code, is there a way in a CSS or SCSS file to automatically generate open and close brackets after any class/identifier/selector? Are there any such extensions?

2 Answers

by
 
Best answer
0 votes
If such optimization is needed, it is unlikely, it is too narrow a task. It is not impossible, just why?

If you want to make s?css automatically from the HTML markup, there are eCSStractor

If you are too lazy to write your own control structure for CSS, you can reduce it to a single symbol with snippets. Here my question with my own answer I still do, my brother is alive.
by
0 votes
After you write the selector and put a curly bracket, the editor closes it automatically