A
A
Alex102142020-01-23 15:25:10
Visual Studio Code
Alex10214, 2020-01-23 15:25:10

Automatic code formatting in Visual Studio Code?

Hello, Code auto-formatting in Visual Studio Code is done with the following combinations:
Windows: Shift + Alt + F. But it works in js and html files. I have many style lines in scss. And they are somehow not correctly formatted. Is there a keyboard shortcut for formatting styles. If there is, then give pliz.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex10214, 2020-01-23
@Alex10214

Already figured it out. The same combination works in styles, you just need to install the Style Formatting Extension in Visual Studio Code. Called SCSS Formatter

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question