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