Tab Size on GitHub

Make tab indented code more readable by forcing the tab size to 4 instead of 8

What is Tab Size on GitHub?

Tab Size on GitHub is a Chrome extension developed by Sindre Sorhus, and its main feature is "Make tab indented code more readable by forcing the tab size to 4 instead of 8".

Extension Screenshots

screenshot
screenshot

Download Tab Size on GitHub Extension CRX File

Download Tab Size on GitHub 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

                        Update: GitHub now has a tab size setting: https://github.blog/changelog/2021-09-21-tab-size-rendering-preference/

By default, in browsers, the tab character takes up 8 spaces in width. This makes tab-indented code hard to read. GitHub could have easily overridden this with a more reasonable number like 4, but they have chosen not to. Hence why this extension exists. It sets the tab width to 4.                    

Extension Basic Information

Name Tab Size on GitHub Tab Size on GitHub
ID ofjbgncegkdemndciafljngjbdpfmbkn
Official URL https://chromewebstore.google.com/detail/tab-size-on-github/ofjbgncegkdemndciafljngjbdpfmbkn
Description Make tab indented code more readable by forcing the tab size to 4 instead of 8
File Size 5.09 KB
Installation Count 2,002
Current Version 1.2.0
Last Updated 2021-09-26
Publish Date 2018-09-24
Rating 4.96/5 Total 23 Ratings
Developer Sindre Sorhus
Email [email protected]
Payment Type free
Extension Website https://github.com/sindresorhus/tab-size-on-github
Help Page URL https://github.com/sindresorhus/tab-size-on-github/issues
Privacy Policy Page URL https://github.com/sindresorhus/privacy-policy/blob/master/chrome-extensions.md
Supported Languages en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "Tab Size on GitHub",
    "version": "1.2.0",
    "description": "Make tab indented code more readable by forcing the tab size to 4 instead of 8",
    "homepage_url": "https:\/\/github.com\/sindresorhus\/tab-size-on-github",
    "manifest_version": 2,
    "minimum_chrome_version": "36",
    "icons": {
        "128": "icon.png"
    },
    "permissions": [
        "https:\/\/github.com\/*\/*",
        "https:\/\/gist.github.com\/*\/*",
        "https:\/\/raw.githubusercontent.com\/*\/*"
    ],
    "content_scripts": [
        {
            "run_at": "document_end",
            "matches": [
                "https:\/\/github.com\/*\/*",
                "https:\/\/gist.github.com\/*\/*",
                "https:\/\/raw.githubusercontent.com\/*\/*"
            ],
            "css": [
                "content.css"
            ]
        }
    ]
}