translate_tabs_to_spaces
is the devil.
It’s enabled when you press Indent with spaces
, and the description in the preferences file says: Set to true to insert spaces when tab is pressed
But that’s not what it does is it? Instead it’s a naive hack that turns any and all tabs into spaces, indentation or otherwise, whether the tab key is involved or not.
The keybind that lets you specifically input tabs with shift+tab
is broken. It inputs spaces instead.
Ever try to work on a table or spreadsheet in a text editor? I have an easier time of it in notepad than in sublime, because sublime nukes all the tabs.
A text editor who’s indentation settings mangle pastes. WTF?
While this option has it’s fans, it is definitely not what you expect when you click “Indent with spaces”. Indent with spaces should (As the name suggests) add spaces when indenting, instead of tabs.
There are also issues with the tab stops and reindent
on lines with preexisting tabs, but translate_tabs_to_spaces
makes them worse.
Please add a real indent with spaces mode