Visual studio code CSS indentation and formatting

后端 未结 10 1230
梦毁少年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:13

    Beautify css/sass/scss/less

    to run this

    enter alt+shift+f

    or

    press F1 or ctrl+shift+p and then enter beautify ..


    an another one - JS-CSS-HTML Formatter

    i think both this extension uses js-beautify internally

提交回复
热议问题