GitHub Code Folding

Enable code folding when viewing files in GitHub.

What is GitHub Code Folding?

GitHub Code Folding is a Chrome extension developed by noam3127, and its main feature is "Enable code folding when viewing files in GitHub.".

Extension Screenshots

screenshot
screenshot

Download GitHub Code Folding Extension CRX File

Download GitHub Code Folding extension files in crx format, manually install Chrome extensions in the browser, or share the crx files with friends to easily install Chrome extensions.

Extension Usage Instructions

                        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                    

Extension Basic Information

Name GitHub Code Folding GitHub Code Folding
ID lefcpjbffalgdcdgidjdnmabfenecjdf
Official URL https://chromewebstore.google.com/detail/github-code-folding/lefcpjbffalgdcdgidjdnmabfenecjdf
Description Enable code folding when viewing files in GitHub.
File Size 1.06 MB
Installation Count 3,328
Current Version 0.3.3
Last Updated 2022-07-14
Publish Date 2019-04-10
Rating 5.00/5 Total 16 Ratings
Developer noam3127
Email [email protected]
Payment Type free
Extension Website https://github.com/noam3127/github-code-folding
Help Page URL https://github.com/noam3127/github-code-folding/issues
Supported Languages 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"
            ]
        }
    ]
}