Ignore whitespace-only changes in diff view #56281
Michael-1
started this conversation in
Feature Requests
Replies: 2 comments
-
|
This would be great! |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
absolute deal breaker lol imagine |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When reviewing changes in Zed’s built-in diff view, whitespace-only modifications currently appear the same as semantic code changes.
This becomes noisy when
It would be useful to have an option to ignore whitespace-only changes in diffs, similar to:
git diff -wProposed behaviour
Add a toggle in the diff viewer to ignore whitespace changes.
Possible UI
Example setting
Potential modes
Why this would help
This would make code review significantly cleaner when
It would also reduce visual noise and make semantic changes easier to spot.
Additional context
Currently the workaround is using terminal Git commands such as:
but this loses the convenience of Zed’s integrated diff UI.
Beta Was this translation helpful? Give feedback.
All reactions