Vscode: SCM: Option for gutter decoration ignore whitespace

Created on 11 Oct 2018  ·  4Comments  ·  Source: microsoft/vscode

The whitespaces are shown as changes in gutter decoration in editors:

image

I usually use git diff -w in the daily work and think it'll be great if there's an option for ignoring whitespace changes.

I've only found the setting diffEditor.ignoreTrimWhitespace which seems like it is only worked for Diff Editor not for Editors.

feature-request help wanted scm

Most helpful comment

@joaomoreno Any idea about the timeline for this issue? It's not a crucial feature, sure, but it'll be nice to have it.

All 4 comments

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

Unfortunately this is a technical limitation. These whitespace changes are used for computations in range staging commands. There's no easy way to remove them now.

Did this change recently? The gutter decoration used to follow the diff editor's setting for ignoring whitepace and worked great.
The gutter decorations are pretty useless to me now that they always show whitespace changes. I almost always just see one big vertical line since I often make indentation changes.

@joaomoreno Any idea about the timeline for this issue? It's not a crucial feature, sure, but it'll be nice to have it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

trstringer picture trstringer  ·  3Comments

shanalikhan picture shanalikhan  ·  3Comments

biij5698 picture biij5698  ·  3Comments

vsccarl picture vsccarl  ·  3Comments

villiv picture villiv  ·  3Comments