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
官方網址 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"
            ]
        }
    ]
}