Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ignore whitespace in diffs automatically

See original GitHub issue

How about adding ?w=1 to any diff URLs automatically as optional? Personally speaking it’s pretty useful, as I hardly ever care about any changes only in whitespace.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:39
  • Comments:33 (9 by maintainers)

github_iconTop GitHub Comments

roboweavercommented, Jun 23, 2017

The w=1 trick is nice for viewing diffs, unfortunately you can’t add comments for the Pull Request which is where this would be most useful.

Really annoying to not be able to see your actual change in a file that accidentally (or intentionally) got formatted as part of a commit, since changing the whitespace doesn’t matter in most languages.

glynhudsoncommented, Mar 13, 2018

Agree, this should be default. Or at least a toggle option. Please make it happen 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ignore white space in code review - The GitHub Blog
Change your view to automatically reduce white space using the new “Diff settings” button, and start your review. Want to comment on white...
Read more >
Ignore whitespace in Visual Studio Code git diff view
Is it possible to ignore white-space when viewing code differences of a file (generated by GIT) in Visual Studio Code?
Read more >
Ability to ignore whitespace changes in the diffs (BB-11120)
I would like to see the option to ignore space changes in the diff viewer as well. It allows us to focus on...
Read more >
Quick Tip: How to Hide Whitespace Changes in Git Diffs
You can hide whitespace changes for GitLab diffs in two ways. First, click the “Hide whitespace changes” button near the top of the...
Read more >
Beanstalk — Ignoring Whitespace Changes in Diffs
Ignoring Whitespace Changes in Diffs Sometimes developers commit a lot of whitespace changes along with their actual change.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found