Provide ability to ignore all whitespace in diff editor (feature request)
See original GitHub issueSteps to Reproduce:
- In settings it’s possible to set
"diffEditor.ignoreTrimWhitespace": true
- There’s no option to ignore all whitespace,
Would it be possible to add "diffEditor.ignoreAllSpaces": true
? I believe the command-line to achieve this would be something like git diff --ignore-space-at-eol -b -w [commit]...
[edit]
Might only need -w
?
[/edit]
Issue Analytics
- State:
- Created 6 years ago
- Reactions:331
- Comments:74
Top Results From Across the Web
Ignore whitespace in Visual Studio Code git diff view
I believe OP is asking to ignore all whitespaces (including between words) not just trailing whitespaces. Unfortunately, ...
Read more >Ignore white space in code review - The GitHub Blog
When reviewing code, a diff with a number of trivial white space changes can create enough noise that it's difficult to focus on...
Read more >In pull request, unchecked show and diff whitespace still ...
As noted in the posted solution, this behavior is as designed. Only leading and trailing whitespace is ignored, not whitespace within a line...
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 >Provide the option to ignore whitespace differences in Apex
We've recently released a new version of our diff viewer which includes character-by-character diff highlighting, and ignores whitespace ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s been over a year and I REALLY would love to have this feature. Any chance it will be implemented?
That’s not quite what people are asking for. It doesn’t ignore all whitespace. It ignores leading or trailing whitespace only.