Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 8

Feature request: option to always hide whitespace changes when viewing diffs

As a user who never cares about seeing whitespace changes, I want to set a option somewhere (on my account?, a repo?, an org?) that stores this setting for use everywhere applicable, so that I don't need open a popout form, check a box, and click a button every single time I view a diff.

 

Right now, every time I view a diff, I need to go into "Diff settings", "Hide whitespace changes", and then "Apply and reload". This setting does not stick between sessions, pages, or even views of the same diff: simply refreshing the page will show me whitespace changes again!

diff.png

7 Replies
Community Manager
Message 2 of 8

Re: Feature request: option to always hide whitespace changes when viewing diffs

Thanks for the feedback! I've taken your suggestion and passed it along to the appropriate teams. Thanks again for reaching out 😀 and our apologies for the delayed response.

Thanks for being here, sharing, and keeping our community awesome!
Best,
AndreaG

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Ground Controller Lvl 1
Message 3 of 8

Re: Feature request: option to always hide whitespace changes when viewing diffs

Where can we track this feature request?

Ground Controller Lvl 1
Message 4 of 8

Re: Feature request: option to always hide whitespace changes when viewing diffs

+1 for both the feature request and wondering where to track it

Ground Controller Lvl 1
Message 5 of 8

Re: Feature request: option to always hide whitespace changes when viewing diffs

@AndreaGriffiths11Do you have an update for us?

Ground Controller Lvl 1
Message 6 of 8

Re: Feature request: option to always hide whitespace changes when viewing diffs

Any update on this? Whitespace is so insignificant in everything I do. If you re-indent a bunch of code but only make one small change you get this huge pink blob that makes it look like you make 1000 changes. I would really love an option to make this permanent.

Copilot Lvl 3
Message 7 of 8

Re: Feature request: option to always hide whitespace changes when viewing diffs

What does "Diff" mean? I'm new to GitHub, I apologize in advance for my ignorance.

 

Kind Regards,

 

Robin.

ᴄʏʙᴇʀsᴇᴄᴜʀɪᴛʏ sᴛᴜᴅᴇɴᴛ - Hit the "Kudos" button if you love coding! :)
Commander Lvl 3
Message 8 of 8

Re: Feature request: option to always hide whitespace changes when viewing diffs

@oo7Robin a "diff" is just the comparison of a file between a single commit, multiple commits, tags, branches, etc. . I'm sure you've seen them before: it are the files where you have the red and green markings on lines of code.

 

A random "diff" from the Atom repo: https://github.com/atom/atom/pull/18988/files


- Mark