Automatically hides whitespace changes in GitHub pull requests for a cleaner code review experience.

Latest Version

Version
1.0
Update
June 2, 2023
Size
3.52KiB
Developer
Category
Users
70
Rating
4 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
See more

Github Whitespace Hider Extension

Improve your code reviewing experience on GitHub with the Github Whitespace Hider. This handy Chrome extension automatically hides whitespace changes in pull requests, streamlining your review process by focusing on the changes that matter.

In the hustle of coding, it's common to inadvertently add or remove whitespaces, which can clutter the pull request diff view. These changes, although innocent in intent, can make the diff harder to read and obscure the actual code changes. That's where Github Whitespace Hider comes in.

With just a one-time installation, Github Whitespace Hider gets to work on every GitHub pull request page you visit. It automatically modifies the URL to include the 'w=1' parameter, effectively hiding whitespace changes. This allows you to review code alterations more efficiently, without the need to manually toggle the 'Hide whitespace changes' option every time.

Install Github Whitespace Hider today and enjoy a cleaner, more focused code review experience on GitHub!

Open source: https://github.com/joe-lloyd/github-white-space-off-chrome-extention
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Github Whitespace Hider", "version": "1.0", "description": "Automatically hides whitespace changes in GitHub pull requests for a cleaner code review experience.", "host_permissions": [ "https://github.com/" ], "content_scripts": [ { "matches": ["https://github.com/*"], "js": ["whitespace_hider.js"] } ]}
Read more

How to download and manually install Github Whitespace Hider extension for Chrome

Looking for a way to install Github Whitespace Hider extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Github Whitespace Hider extensions manually, this article outlines two simple methods to effortlessly install Github Whitespace Hider extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Github Whitespace Hider extension and manually install through Drag &Drop

If you ever need to manually install a Github Whitespace Hider extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Github Whitespace Hider Extension by clicking the "Download CRX" button on the website.

Look for the Github Whitespace Hider extension you wish to install. Go to the website and download the Github Whitespace Hider extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Github Whitespace Hider extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Github Whitespace Hider extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Github Whitespace Hider extension for Chrome and install in Developer Mode

This is another method to install Github Whitespace Hider extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Github Whitespace Hider extension file

Select and download the Github Whitespace Hider extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Github Whitespace Hider extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Github Whitespace Hider extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Github Whitespace Hider extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Github Whitespace Hider extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Twitter Reaction Counter Extension · Social & Communication 70 0 ★ 133KiB

icon

AWS SSO Auto-Expand Accounts Extension · Productivity 70 0 ★ 10.68KiB

icon

PT QA HELPER Extension · Developer Tools 70 0 ★ 4.36MiB

icon

New Reddit comment faces Extension · Social & Communication 70 1 ★ 36.61KiB

icon

SummaryGPT Extension · Productivity 70 0 ★ 18.59KiB

icon

GitHub Whitespace Extension · Developer Tools 70 10 ★ 15.73KiB

icon

KXL Klien/Jastrow Dictionary (sefaria) Extension · Productivity 70 0 ★ 315KiB

icon

The Crucible KeyForge Multilanguage Extension · Fun 70 0 ★ 54.27KiB

icon

Jira Ticket Link Generator - Cloud Edition Extension · Productivity 70 4 ★ 538KiB

icon

SearchTool Extension · Productivity 70 0 ★ 9.72KiB

icon

Swish QR-code generator Extension · Accessibility 70 0 ★ 141KiB

icon

NTUCal Extension · Productivity 70 1 ★ 268KiB

icon

NETO POS Profit Margin Calculator Extension · Productivity 70 0 ★ 284KiB

icon

SONAAR: Add Alts Extension · Accessibility 70 1 ★ 189KiB

icon

Add to Benevolist.org Button Extension · Shopping 70 0 ★ 26.28KiB

icon

Hide whitespaces GitHub Extension · Developer Tools 70 2 ★ 10.26KiB

icon

GitHub PR images comparer Extension · Developer Tools 70 1 ★ 13.65KiB

icon

Git Well Soon Extension · Developer Tools 70 4 ★ 9.78KiB

icon

Google Meet ZoomIn & File Sharing Extension · Productivity 70 1 ★ 90.26KiB

icon

inCreator Extension · Productivity 70 5 ★ 2.27MiB

icon

Tower of Anki Extension · Accessibility 70 1 ★ 63.34KiB

icon

Echo | Faster, Friendly Voice comments Extension · Social & Communication 70 2 ★ 900KiB

icon

GM Assistant Extension · Productivity 70 9 ★ 49.11KiB

icon

Business Review Scan Extension · Productivity 70 0 ★ 5.4KiB

User reviews

icon

Lorenzo Gentile (ID: 000000066725bb49) Voted 3 ★ - Updated 10/17/2023 It's a good start! The w=1 query param doesn't get added if I click into the PR from the Pull Requests tab though, it only gets applied if I reload the page.

icon

Jack Sleath (ID: 000000fe85bbefcb) Voted 5 ★ - Updated 06/13/2023 This has been a topic in our dev team for a long time, thanks for the great extension.