jisaacks / GitGutter

A Sublime Text 2/3 plugin to see git diff in gutter
MIT License
3.88k stars 224 forks source link

Differentiate changed line icon for whitespace only changes #260

Open etler opened 8 years ago

etler commented 8 years ago

When reformatting files, it can be a little confusing figuring out what lines have significant changes when there are major whitespace changes. Having a different icon for whitespace only changes would be very helpful in those cases.

Is this a feature that would be worth supporting in GitGutter? Also, what should the icon be? An unfilled outline of a square would probably be the most obvious.

jisaacks commented 8 years ago

@etler, I don't think this is something that I care to work on myself, I rarely make significantly white space only changes enough to ever care. However, if someone proposed a clean solution that could be off by default and turned on via settings, I would probably merge it.

etler commented 8 years ago

Cool, I think I'll take a stab at it. I just wanted to check if there was interest in it so my effort wouldn't go to waste.

jisaacks commented 8 years ago

Also, before you spend any effort, it might be worth checking to see if this setting helps you.

etler commented 8 years ago

Nice, thanks for pointing that out!