Google Chrome extension that automatically adjusts tab indentation when viewing source code on GitHub (and Bitbucket!). Looking at source code that uses tabs on these sites usually looks like this,
but with this plugin, source code looks like this,
As you can see, by default, browsers render tabs as 8 (!!!) spaces, but this plugin corrects that by making them render with only 2 spaces (or whatever you specify). Makes reading code on GitHub/Bitbucket a lot more enjoyable, especially when it's in a language like Go, where the standard is to use tabs over spaces.
- Clone this repo to any folder
- Navigate to chrome://extensions/ in Google Chrome
- Check "Developer Mode" in the upper right
- Click "Unload Packed Extension..." and select the cloned repo folder
- Click "Options" and select your tab indentation level
- Done! 🎉 🎈 🎊 🎉 🎈 🎊