I’ve been using vscode for years now and recently I’ve been having this issue where there’s random extra spaces in lines even after html tags are closed. Anyone ever seen this problem before?

Please excuse the code I had to use. I’m building an email.

  • @[email protected]
    link
    fedilink
    English
    29 months ago

    There’s a setting to trim all trailing whitespace on save so that’s how I avoid committing trailing whitespace. It seems to be separate from any beautifier plugins I use, it’s under text editor > files > trim trailing whitespace. I also enable trim final newlines and insert final newline which ensures there’s only 1 new line at the end of files.