Tab Size on GitHub

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.
Merlin
Stats
Users: 1,000+
Rating: 4.96 (23)
Version: 1.2.0 (Last updated: 2021-09-26)
Creation date: 2018-09-24
Risk impact: Moderate risk impact
Risk likelihood: Very low risk likelihood
Manifest version: 2
Permissions:
  • https://github.com/*/*
  • https://gist.github.com/*/*
  • https://raw.githubusercontent.com/*/*
Size: 5.21K
Stats date:

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.
Chrome-Stats extension
Merlin
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 Sam Cao, 2021-01-22

I wish there's an option to change it to 2.
by Leeroy Ding 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 Rinat Khaziev, 2016-02-25
View all user reviews
Safety
Risk impact

Tab Size on GitHub may not be safe to use and it requires some risky permissions. Exercise caution when installing this extension. Review carefully before installing.

Risk likelihood

Tab Size on GitHub has earned a good reputation and can be trusted.

Upgrade to see risk analysis details
Screenshots
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: