Last active
February 8, 2017 20:04
-
-
Save xtornasol512/9e6868138b1787a954876d0666a40145 to your computer and use it in GitHub Desktop.
Convert 4 spaces to 2 spaces with Sublime
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Assuming you have the following settings in Sublime: | |
"tab_size": 2, | |
"translate_tabs_to_spaces": true, | |
If you get a file indented with 4 fucking spaces: | |
`` | |
Select all | |
View > Indentation > tab width: 4 | |
View > Indentation > convert indentation to tabs | |
View > Indentation > tab width: 2 | |
View > Indentation > convert indentation to spaces | |
`` | |
If you get a file indented with 2 fucking tabs, just skip step 2. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps thanks by Tessa Thornton