How to have VS Code format HTML code adding white line space when hit enter

I found the solution by copying all the default options from the settings.json file and comparing with the ones I already have set. The value to change was:

"editor.autoIndent": "keep",

and it should be:

"editor.autoIndent": "full",

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top