The setting files.trimTrailingWhitespace does not seem to trim trailing whitespace when a file is saved. Is this a deliberate decision?
I do not want to format the entire document when saving (using e.g. editor.formatOnSave) as this will affect other file types as well (and I occasionally use custom formatting for clarity).
Extension Details
Name: XML
Id: redhat.vscode-xml
Version: 0.13.0
VSCode Details
Version: 1.47.3 (user setup)
Commit: 91899dcef7b8110878ea59626991a18c8a6a1b3e
Date: 2020-07-23T13:12:49.994Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363
The setting
files.trimTrailingWhitespacedoes not seem to trim trailing whitespace when a file is saved. Is this a deliberate decision?I do not want to format the entire document when saving (using e.g.
editor.formatOnSave) as this will affect other file types as well (and I occasionally use custom formatting for clarity).Extension Details
Name: XML
Id: redhat.vscode-xml
Version: 0.13.0
VSCode Details
Version: 1.47.3 (user setup)
Commit: 91899dcef7b8110878ea59626991a18c8a6a1b3e
Date: 2020-07-23T13:12:49.994Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363