I’ve just noticed that all my tabs are being converted to spaces. This seems to have started today (I think).
I have the following settings in my Preferences.sublime-settings as per the Indentation Settings docs (sublimetext.com/docs/3/indentation.html).
{
"color_scheme": "Packages/Color Scheme - Default/Solarized (Light).tmTheme",
"dictionary": "Packages/Language - English/en_GB.dic",
"tab_size": 4,
"translate_tabs_to_spaces": false,
"detect_indentation": false
}
Here’s the default settings:
// 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": false,
// If translate_tabs_to_spaces is true, use_tab_stops will make tab and
// backspace insert/delete up to the next tabstop
"use_tab_stops": true,
// Set to false to disable detection of tabs vs. spaces on load
"detect_indentation": true,
// Calculates indentation automatically when pressing enter
"auto_indent": true,
// Makes auto indent a little smarter, e.g., by indenting the next line
// after an if statement in C. Requires auto_indent to be enabled.
"smart_indent": true,
// Adds whitespace up to the first open bracket when indenting. Requires
// auto_indent to be enabled.
"indent_to_bracket": false,
// Trims white space added by auto_indent when moving the caret off the
// line.
"trim_automatic_white_space": true,
I don’t seem to have a language specific preferences file.