Visual studio code CSS indentation and formatting

A. DC picture A. DC · Jun 10, 2016 · Viewed 98.4k times · Source

I'd like to know if there is any way to activate auto indent a CSS file in visual studio code with the shortcut ALT+SHIFT+F?

It's working fine with JavaScript but strangely not with CSS.

Answer

NValchev picture NValchev · Jun 10, 2016

Yes, try installing vscode-css-formatter extension.
It just adds the functionality to format .css files and the shortcut stays the same Alt+Shift+F.