HTML Format for Visual Studio Code Formats HTML documents by auto-indenting, wrapping and removing unnecessary whitespace while preserving newlines. Extension Settings editor.wordWrapColumn controls the maximum line length.