romach
4/12/2017 - 7:40 AM

Use spaces in tabs in Sublime text

Use spaces in tabs in Sublime text

Choose in menu Preferences > Settings

or

vim ~/.config/sublime-text-3/Packages/User/Preferences.sublime-settings

Add to user preferences

{
    // The number of spaces a tab is considered equal to
    "tab_size": 4,
    // Set to true to insert spaces when tab is pressed
    "translate_tabs_to_spaces": true,
}