Is there a way to remove trailing spaces in Visual Studio Code (automatically or with a shortcut)?
I\'ve been looking for this in the command palette and in the edit
Menu File → Preference → Settings →
Check the "Trim Trailing Whitespace" option - "When enabled, will trim trailing whitespace when saving a file".