GitHub Code Folding

Enable code folding when viewing files in GitHub.

什么是GitHub Code Folding?

GitHub Code Folding是由noam3127开发的Chrome扩展程序,该扩展的主要功能是“Enable code folding when viewing files in GitHub.”。

扩展截图

screenshot
screenshot

下载GitHub Code Folding扩展crx文件

下载GitHub Code Folding扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        Code folding - the ability to selectively hide and display sections of a code - is an invaluable feature in many text editors and IDEs. Now, developers can utilize that same style code-folding while poring over source code on the web in GitHub. Works for any type of indentation, spaces or tabs.


--- CHANGELOG ---
v0.3.3
- handle multi-level nested blocks

v0.3.2
- don't expand previously collapsed inner block when expanding outer block
- styling fix that prevented copying code

v0.3.1
- remove host permission 

v0.3.0
- migrate manifest to v3
- update permissions
- fix styling

v0.2.0
- fix to use CSS selectors from updated github markup 
- run on bbgithub

v0.1.1
- fix missing css file

v0.1.0 
- remove jQuery dependency
- use event page instead of permanent background                    

扩展基本信息

名称 GitHub Code Folding GitHub Code Folding
ID lefcpjbffalgdcdgidjdnmabfenecjdf
官方URL https://chromewebstore.google.com/detail/github-code-folding/lefcpjbffalgdcdgidjdnmabfenecjdf
简介 Enable code folding when viewing files in GitHub.
文件大小 1.06 MB
安装次数 3,328
当前版本 0.3.3
更新时间 2022-07-14
上架时间 2019-04-10
评分 5.00/5 共16次评分
开发者 noam3127
电子邮箱 [email protected]
付费类型 free
扩展官网 https://github.com/noam3127/github-code-folding
帮助页面URL https://github.com/noam3127/github-code-folding/issues
支持的语言 en-US
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "GitHub Code Folding",
    "version": "0.3.3",
    "description": "Enable code folding when viewing files in GitHub.",
    "homepage_url": "https:\/\/github.com\/noam3127\/github-code-folding",
    "manifest_version": 3,
    "minimum_chrome_version": "88",
    "author": "Noam Lustiger",
    "short_name": "Github Code Folding",
    "permissions": [
        "scripting"
    ],
    "host_permissions": [
        "*:\/\/github.com\/*"
    ],
    "background": {
        "service_worker": "background.js",
        "type": "module"
    },
    "icons": {
        "128": "images\/icon-128.png"
    },
    "content_scripts": [
        {
            "run_at": "document_end",
            "matches": [
                "*:\/\/github.com\/*"
            ],
            "css": [
                "style.css"
            ]
        }
    ]
}