Tab Size on GitHub

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

什么是Tab Size on GitHub?

Tab Size on GitHub是由Sindre Sorhus开发的Chrome扩展程序,该扩展的主要功能是“Make tab indented code more readable by forcing the tab size to 4 instead of 8”。

扩展截图

screenshot
screenshot

下载Tab Size on GitHub扩展crx文件

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

扩展使用说明

                        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.                    

扩展基本信息

名称 Tab Size on GitHub Tab Size on GitHub
ID ofjbgncegkdemndciafljngjbdpfmbkn
官方URL https://chromewebstore.google.com/detail/tab-size-on-github/ofjbgncegkdemndciafljngjbdpfmbkn
简介 Make tab indented code more readable by forcing the tab size to 4 instead of 8
文件大小 5.09 KB
安装次数 2,002
当前版本 1.2.0
更新时间 2021-09-26
上架时间 2018-09-24
评分 4.96/5 共23次评分
开发者 Sindre Sorhus
电子邮箱 [email protected]
付费类型 free
扩展官网 https://github.com/sindresorhus/tab-size-on-github
帮助页面URL https://github.com/sindresorhus/tab-size-on-github/issues
隐私政策页面URL https://github.com/sindresorhus/privacy-policy/blob/master/chrome-extensions.md
支持的语言 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"
            ]
        }
    ]
}