How To Enable/Disable Ignore Trim Whitespace Diff Editor VSCode

YouTube video
  1. Open VS Code.
  2. Click on File.
  3. Then find Preferences -> settings.
  4. Click on the Text Editor in the left side menu.
  5. Then Click on Diff Editor.
  6. Locate the Ignore Trim Whitespace Setting.
  7. Check or Uncheck: When enabled, the diff editor ignores changes in leading or trailing whitespace.