The option diffEditor.ignoreTrimWhitespace, which is set to true by default, hides changes in the diff editor when a line remains the same in content but the indentation (leading whitespaces) change.
This is dangerous if you're restructuring logic, most notably with early returns because VS Code does not show it as a diff at all, making me think it was broken the first time it happened, and I accidentally committed code with wrong indentation.
I would like to request for this option to be false by default unless users explicitly disable it, since it is pretty important and makes no sense to be enabled by default.
The option
diffEditor.ignoreTrimWhitespace, which is set totrueby default, hides changes in the diff editor when a line remains the same in content but the indentation (leading whitespaces) change.This is dangerous if you're restructuring logic, most notably with early returns because VS Code does not show it as a diff at all, making me think it was broken the first time it happened, and I accidentally committed code with wrong indentation.
I would like to request for this option to be false by default unless users explicitly disable it, since it is pretty important and makes no sense to be enabled by default.