Tab Size on GitHub
Item logo image for Tab Size on GitHub

Tab Size on GitHub

Featured
5.0(

23 ratings

)
Item media 1 screenshot
Item media 2 screenshot

Overview

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

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.

5.0 out of 523 ratings

Google doesn't verify reviews. Learn more about results and reviews.

Review's profile picture

Sam CaoJan 22, 2021

It's so simple. I wish github could let me set tab size. Before that, this extension is awesome!

Review's profile picture

Leeroy DingMay 25, 2016

I wish there's an option to change it to 2.

5 out of 6 people found this helpful
Review's profile picture

Rinat KhazievFeb 25, 2016

I was about to delve into developing Chrome extensions but then I googled :) Good job, does exactly what it's supposed to do.

1 person found this review to be helpful

Details

  • Version
    1.2.0
  • Updated
    September 26, 2021
  • Offered by
    Sindre Sorhus
  • Size
    5.09KiB
  • Languages
    English
  • Developer
    Email
    sindresorhus@gmail.com
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

The developer has disclosed that it will not collect or use your data. To learn more, see the developer’s privacy policy.

This developer declares that your data is

  • Not being sold to third parties, outside of the approved use cases
  • Not being used or transferred for purposes that are unrelated to the item's core functionality
  • Not being used or transferred to determine creditworthiness or for lending purposes

Support

For help with questions, suggestions, or problems, visit the developer's support site

Related

GitHub EditorConfig

5.0(4)

EditorConfig support for GitHub

GitHub Issue Link Status

5.0(12)

Colorize issue and PR links to see their status (open, closed, merged)

github npm stats

5.0(4)

Displays npm package stats on GitHub

Hide Files on GitHub

4.4(14)

Hide nonessential files from the file browser

GitHub Custom Tab Size

4.3(10)

Make tab indented code more readable by allowing you to set a custom tab size

Pages2Repo

3.7(3)

Opens the corresponding repository from a GitHub Page

GitHub Tab Sizer

5.0(1)

Automatically sets tab sizes for files viewed on GitHub.

Refined GitHub

4.8(181)

Simplifies the GitHub interface and adds useful features

Pretty Pull Requests (Github)

4.0(21)

This extension applies various tweaks to the github pull-request code review pages.

GitHub Highlight Selected

4.5(17)

Highlight selected word in GitHub source view like Sublime Text

Twitter for GitHub

4.8(5)

Twitter handles for GitHub

github.expandinizr

4.9(29)

Chrome extension that improves the GitHub experience

GitHub EditorConfig

5.0(4)

EditorConfig support for GitHub

GitHub Issue Link Status

5.0(12)

Colorize issue and PR links to see their status (open, closed, merged)

github npm stats

5.0(4)

Displays npm package stats on GitHub

Hide Files on GitHub

4.4(14)

Hide nonessential files from the file browser

GitHub Custom Tab Size

4.3(10)

Make tab indented code more readable by allowing you to set a custom tab size

Pages2Repo

3.7(3)

Opens the corresponding repository from a GitHub Page

GitHub Tab Sizer

5.0(1)

Automatically sets tab sizes for files viewed on GitHub.

Refined GitHub

4.8(181)

Simplifies the GitHub interface and adds useful features

Google apps