vscode html code formatter code example
Example 1: vscode format code
On Windows Shift + Alt + F.
On Mac Shift + Option + F.
Example 2: vscode auto format html
Format entire file:
Ctrl + Shift + I
Example 3: vs code enable "html" in "javascript"
"emmet.includeLanguages": {
"javascript": "javascriptreact",
"vue-html": "html",
"razor": "html",
"plaintext": "pug"
}