GitHub Diff Files Filter

A userscript that adds filters that toggle diff & PR folders, and files by extension

当前为 2022-10-24 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Mottie
评分
0 0 0
版本
2.1.5
创建于
2016-12-31
更新于
2022-10-24
大小
6.6 KB
许可证
MIT
适用于

A userscript that adds filters that toggle diff & PR files by extension

  • A group of buttons are added above diff & pull request files with file name extensions.
  • Files with no extension will be labeled as "«no-ext»".
  • Click on one more more buttons to toggle the view of the files.
  • Hovering over the filter will show the number of files of that type (added v0.1.6).
  • Special Filters:
    • The "«all»" filter button toggles the view of all files.
    • The "«no-ext»" filter button toggles all files that do not have an extension. It is only added if such files exist.
    • The "«dot-files»" filter button toggles all dot-files (e.g. .gitignore, .gitattributes, etc). It is only added if such files exist.
    • The "«renamed»" filter button toggles all files that have been either renamed or moved; these files may or may not have been edited (added v1.1.0).
  • Original idea from the Github Pr Filter extension.
  • After installing, try the userscript on this page: repo inital commit.

github-diff-files-filter

Hosted with ♥ at GitHub