+1

Changes view: Remember "Ignore Whitespace"

rajiv 2 weeks ago • updated by Thomas Singer 2 weeks ago • 1

Please bring back the persistent "Ignore Whitespace" toggle. Since some build of 24.1, the "Ignore Whitespace" option resets every time I switch files, and I have to re-choose it constantly.

I spend a lot of time just viewing my working tree changes, and staging/unstaging hunks. Viewing significant code changes without the noise of whitespace deltas is important.

Therefore, I really want my viewing preference to persist. The new "Ignore WS" button is a welcome improvement, having it's state visible, and togglable with one click. (I would similarly welcome a "Ignore EOL" button 🙂). But constantly having to re-instate my preference, even just switching to another file then back, is tiresome.

Changes view

Just for the records why we have implemented it the way it is: the option is automatically reset for local files if a different one is selected (to avoid unintentionally commit unseen whitespace changes); in committed files it is preserved