Answer the question
In order to leave comments, you need to log in
sublime text tab size)?
In my sublime settings it says "tab_size: 2". Everything is fine, already tab is 2 spaces, but why when I upload all this to github, does it show that I have 4 spaces there, and not 2? I have "tab_size: 2" set in my sublime settings, what could be the problem?
Answer the question
In order to leave comments, you need to log in
Sublime only changes the display, the tabs stay the same. Github also shows the size of the tab set to it.
Option:
"translate_tabs_to_spaces": true
will make spaces of the specified length automatically inserted when tab is pressed. With your setup, there will be 2 spaces and there will be an automatic fit, as with tabs.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question