Skip to content

Repository files navigation

GitHub File Hider

Review the code that matters first.
A Chrome extension that hides tests, lockfiles, and other noise from the Files changed tab of GitHub pull requests.

Install from the Chrome Web Store CI status MIT license

The GitHub File Hider menu on the Files changed tab of a pull request, with 11 files hidden by the Tests and Lockfiles presets and a custom rule

Features

  • Presets for tests and lockfiles, and custom rules such as docs/** or **/generated/**.
  • Always show rules keep important files visible.
  • One pull request or all of them. Hide files with one click, remembered per pull request, or turn on automatic mode.
  • Show all files at any time. A direct link to a hidden file still opens it.
  • Sidebar tree follows your rules, or stays complete.
  • Feels built in. Matches GitHub's components in light and dark themes.

Usage

  1. Sign in to github.com and open the Files changed tab of a pull request.
  2. Open the Hide files menu in the toolbar and turn on Tests or Lockfiles.
  3. Select Hide files. Matching files leave the diff and the sidebar tree.

To add your own rules, select the extension icon in the Chrome toolbar to open the Settings page.

Install

Install from the Chrome Web Store, or try the rules first in the sandbox on the website.

Install from a ZIP
  1. Download github-file-hider-YYYY.MM.DD.N.zip from GitHub Releases.
  2. Extract the ZIP into a folder that you keep, for example ~/Extensions/github-file-hider.
  3. Open chrome://extensions, turn on Developer mode, select Load unpacked, and choose that folder.

To update, extract the new ZIP into the same folder, select Reload on the extension card in chrome://extensions, and reload open GitHub tabs. Keep the same folder, so Chrome keeps your settings.

Privacy

No account, no server, no tracking. Settings stay in your browser. The extension runs only on github.com and changes only what you see. It never changes files, comments, reviews, or viewed state.

Development

See docs/development.md to build, test, and release the extension, and the product overview for how it works.

License

MIT. Mona Sans is licensed under the SIL Open Font License 1.1.

GitHub File Hider is not affiliated with GitHub.

About

Hide files in GitHub's Files changed tab

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages