Sublime Forum

Feature suggestion: git-diff ignore whitespace

#1

Thanks for the great tools you develop!!!

I came across the tweet mentioned below, which made a compelling case to use git diff -b (or -w).

I couldn’t find a way to do that in Merge, and I’m sorry if I missed the option. But if it’s not in there, I’d like to submit it for your consideration.


The images in the tweet helped me to understand why I would want this. They’re linked below:

1 Like

#2

You can right click on a diff and click hide whitespace

2 Likes

#3

That’s good to know!!! Thanks!

0 Likes

#4

Is there a way to persist this setting?

0 Likes

#5

Through the command palette, the option “Ignore Whitespace in Diffs: Toggle” persists.

0 Likes

#6

It is not persisting for me …

0 Likes

#7

It persists as part of the session. As long as sublime merge isn’t started with a fresh session, such as when launching from the command line, it should persist. I agree that this should be added as a global setting as well.

3 Likes

#8

Ah yes, I was talking about non-session persistence. Is that on the roadmap?

0 Likes