Tab Size on GitHub icon

Tab Size on GitHub

Extension Delisted

This extension is no longer available in the official store. Delisted on 2025-09-16.

Extension Actions

CRX ID
ofjbgncegkdemndciafljngjbdpfmbkn
Status
  • Unpublished Long Ago
Description from extension meta

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

Image from store
Tab Size on GitHub
Description from store

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.

Latest reviews

Sam Cao
It's so simple. I wish github could let me set tab size. Before that, this extension is awesome!
Leeroy Ding
I wish there's an option to change it to 2.
Rinat Khaziev
I was about to delve into developing Chrome extensions but then I googled :) Good job, does exactly what it's supposed to do.
John Gardner
YES! Finally! Hard tabs for life!
Hans-Harald Glatt
Great!! Thanks a lot!!
Derek Jass
Simple and useful.
炒米粉
Really Nice Work!
musamad musamao the 4th
Awesome, I really hate how Github forces 8, was going to write an extension to do this; but found this.