Visual studio code CSS indentation and formatting

后端 未结 10 1224
梦毁少年i
梦毁少年i 2020-12-12 18:30

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

10条回答
  •  抹茶落季
    2020-12-12 19:20

    After opening local bootstrap.min.css in visual studio code, it looked unindented. Tried the commad ALT+Shift+F but in vain.

    Then installed

    CSS Formatter extension.

    Reloaded it and ALT+Shift+F indented my CSS file with charm.

    Bingo !!!

提交回复
热议问题