PR Diff Filter
1 rating
)Overview
Hide GitHub pull request files by regex, and auto-mark them as Viewed.
PR Diff Filter hides files in a GitHub pull request's Files Changed (or Changes) tab based on regex patterns you control — generated code, lockfiles, snapshots, vendored files, whatever clutters your review — and can optionally auto-mark those files as Viewed so they collapse out of your way. Why: - Large PRs bury the files that actually need a human look under generated/vendored noise. - GitHub's own file filter is manual and per-session; this remembers your rules across every PR you open. Features: - One regex pattern per line, tested against the repo-relative file path (e.g. src/foo/bar.spec.ts). - Live "Test a path" box in the options page shows which rule matches. - Hide or collapse mode for filtered files. - Optional auto-mark as Viewed for matched files (clicks GitHub's own Viewed toggle — see Privacy Policy). - Adjusts the PR's "+N -N" line-change header to reflect only what you're actually reviewing, with the true total always one hover away. - Works with GitHub's newer virtualized diff view and the consolidated /changes route. - Everything runs locally in your browser. No account, no external server, no data collection. Open source: https://github.com/lfsevergnini/pr-diff-filter
5 out of 51 rating
Details
- Version1.0.0
- UpdatedAugust 6, 2026
- Size24.34KiB
- LanguagesEnglish (United States)
- Developer
Email
luissevergnini@gmail.com - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes