What is the difference between the Editor: Trim Auto Whitespace and Files: Trim Trailing Whitespace settings in VSCode? They seem like redundant settings, so I want to understand how they differ.
If you go ahead to Code >> Preferences >> Settings >> Search 'Trim'.
Here's what is mentioned:
Editor: Trim Auto Whitespace - Remove trailing auto inserted whitespace
Files: Trim Trailing Whitespace: - When enabled, will trim trailing whitespace when saving a file.
The significance here is that they are both pretty similar. The major difference is that the 'Files: Trim Trailing Whitespace" option trims your whitespace upon saving a file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With