Murmele / Gittyup

Understand your Git history!
https://murmele.github.io/Gittyup
MIT License
1.56k stars 113 forks source link

[Feature Request] Easier access to "ignore whitespace" command #603

Open lonix1 opened 1 year ago

lonix1 commented 1 year ago

I often look at diffs which seem really complex, except they're not - most of the changes are due to leading/trailing whitespace.

Whitespace can be toggled in Tools > Options > Diff > Ignore Whitespace (-w). I use this often, and I'm sure others do too. It makes diffing so much easier.

It would be better to access it using one of:

The toolbar button is the best option. VSCode uses a "paragraph" icon for that.

Murmele commented 1 year ago

Can you share a design proposal with a few screenshots to make it more clear where to integrate?

lonix1 commented 1 year ago

gittyup

Can be a button in free space of 1, 2 or 3. But 3 makes most sense because it's related to diffing. I'm unsure though, what do you think?

Basically that button must just toggle the Tools > Options > Diff > Ignore Whitespace (-w) option.

lonix1 commented 1 year ago

Gitkraken:

Look on the top right of the diff panel for the paragraph button.

lonix1 commented 1 year ago

And same for vscode: