Diff Editor: Ignore Trim Whitespace With diffEditor.ignoreTrimWhitespace enabled, VS Code’s diff view ignores changes to leading or trailing whitespace on a line. This can make it easier to spot changes to actual file content.