I’m new to Sublime. I just want the tab to take the cursor to the next tab stop, inserting spaces to that point. Ideally, I also want hitting delete from a tab stop to take me to the previous tab stop.
I get this behavior in an empty file. When I save a file as .ts or .js, hitting tab instead inserts 4 spaces no matter where the cursor is. Even in a brand new file. Hitting delete never back-tabs.
How do I fix this? My settings:
"tab_size": 4,
"translate_tabs_to_spaces": true, // true or false, doesn't make a difference
"use_tab_stops": true,
"shift_tab_unindent": true, // true or false, doesn't make a difference
"detect_indentation": true,
"auto_indent": true,
"smart_indent": true,
CLARIFICATION: I want to insert spaces, not tabs. I am now only seeing this problem in Typescript, not Javascript, though I thought I also tested in JS when I posted this.