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 useful web browser extension specifically designed for Chrome. Its main functionality is to enhance the readability of code that is indented with tabs on GitHub. By default, browsers and GitHub set the width of a tab to 8 spaces which can lead to readability issues for developers. This extension modifies that setting on GitHub to make the tab width equal to 4 spaces, hence improving the visibility and readability of the code.

Extension stats

This extension was removed from Chrome Web Store on 2024-05-30
Users: 1,000+
Rating: 4.96 (23)
Version: 1.2.0 (Last updated: 2021-09-26)
Creation date: 2018-09-24
Risk impact: High risk impact
Risk likelihood: High risk likelihood
Manifest version: 2
Permissions:
  • https://github.com/*/*
  • https://gist.github.com/*/*
  • https://raw.githubusercontent.com/*/*
Size: 5.21K

Other platforms

Not available on Firefox
Not available on Edge
Want to check extension ranking and stats more quickly for other Chrome extensions? Install Chrome-Stats extension to view Chrome-Stats data as you browse the Chrome Web Store.

Extension summary

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.

User reviews

It's so simple. I wish github could let me set tab size. Before that, this extension is awesome!
by Sam Cao, 2021-01-22

I wish there's an option to change it to 2.
by Leeroy Ding, 2016-05-25

I was about to delve into developing Chrome extensions but then I googled :) Good job, does exactly what it's supposed to do.
by Rinat Khaziev, 2016-02-25
View all user reviews

Extension safety

Risk impact

Tab Size on GitHub requires some sensitive permissions that could impact your browser and data security. Exercise caution before installing.

Risk likelihood

Tab Size on GitHub may not be trust-worthy. Avoid installing if possible unless you really trust this publisher.

Upgrade to see risk analysis details

Promo images

Tab Size on GitHub small promo image
Small promo image

Similar extensions

Here are some Chrome extensions that are similar to Tab Size on GitHub: