Answer the question
In order to leave comments, you need to log in
How to change the default tab value for a specific file type in sublime text3?
How to change the default tab value for a specific file type in sublime text3 ?
For example, in html and css files - 2 spaces, in py files, tabs are 4 spaces
Answer the question
In order to leave comments, you need to log in
1. Open a file of the desired type (for example, a py file)
2. Go to the
Mac menu : Preferences -> Settings - Syntax Specific
Win : Preferences -> Settings -> More -> Syntax Specific -> User
3. A file with settings for the current one should open format (the name should be like " Python.sublime-settings ")
4. Add or change the following setting:
{
"tab_size": 4
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question