The difference between files.trimFinalWhitespace and files.trimFinalNewlines, is that files.trimFinalNewlines will trim final newlines and spaces, while files.trimTrailingWhitespace removes trailing spaces on each line.
ie, if _ were spaces:
would become
Since vscode-xml supports files.trimFinalNewlines and files.insertFinalNewline, it would be cool to have files.trimTrailingWhitespace just so that it is consistent with the preferences VS Code has to offer.
The difference between
files.trimFinalWhitespaceandfiles.trimFinalNewlines, is thatfiles.trimFinalNewlineswill trim final newlines and spaces, whilefiles.trimTrailingWhitespaceremoves trailing spaces on each line.ie, if
_were spaces:would become
Since vscode-xml supports
files.trimFinalNewlinesandfiles.insertFinalNewline, it would be cool to havefiles.trimTrailingWhitespacejust so that it is consistent with the preferences VS Code has to offer.