Always ignore whitespace for pull request reviews on github.com (uses ?w=1 url parameter)
Whiteout Extension
Normally, when reviewing a pull request to a code repository on Github.com, the diff displayed on the pull request will automatically include 'whitespace-only changes', i.e. a
tab added to the beginning of a line. There is a method to 'hide' whitespace-only changes, however, this will reset the moment you navigate away or to a new pull request. There
currently isn't a way to ensure this is the 'default' setting.
When this extension is installed and enabled, all github.com urls containing the expression /pulls/ will be rewritten to have ?w=1 as a query parameter (without mangling the other params). As a result, all Github code reviews will always ignore whitespace, rather than having to toggle it for each review (See example image). This is a useful feature when having to review a lot of code that has a lot of whitespace in it.
If Github someday makes this a profile setting rather than a transient one, this extension will no longer be needed.
Source Manifest.json
Similar Extensions
GitHub Whitespace 21 10 ★ 15.73KiB
GitHub Merge Guardian 21 0 ★ 306KiB
Git Notify 21 8 ★ 388KiB
GitHub: Better Line Counts 21 4 ★ 123KiB
Git Well Soon 21 4 ★ 9.78KiB
tracklessURL 21 4 ★ 857KiB
Lab Partner 21 8 ★ 469KiB
Copy GitHub PR link with title 21 0 ★ 11.1KiB
GitHub File Tree Resizer 21 1 ★ 7.51KiB
GitHub Code Owners Filter 21 2 ★ 156KiB
Codecode Review for GitLab 21 6 ★ 210KiB
Github Issue Reactions 21 8 ★ 75.1KiB
DotGit 21 12 ★ 147KiB
Github1s Quickswitch 21 1 ★ 9.12KiB
Qodo Merge: AI-Powered Code Reviews & Chat 21 32 ★ 389KiB
GitHub PR Templates 21 0 ★ 7.92KiB
Code Note 21 1 ★ 671KiB
Better GitHub 21 1 ★ 57.19KiB
Github Pull Request Counter 21 4 ★ 68.37KiB
Github Whitespace Hider 21 2 ★ 3.52KiB
Pull Request Review Helper 21 2 ★ 518KiB
审查工具 (GitLab) 21 0 ★ 22.82KiB
GitHub comment minimizer 21 3 ★ 495KiB
GitHub Compare Online 21 0 ★ 383KiB
User reviews
Zulhilmi Zainudin (ID: 0000008a07964e71) Voted 5 ★ - Updated 08/13/2020