I’ve just started using ST3 and it’s pretty good, but I’ve been running into a few problems. I’m not sure how much of this is bugs and how much of this is misconfiguration, so I thought I’d just ask here. (build 3114)
Settings aren’t applied to existing tabs
When I change settings, they aren’t applied to existing tabs. This is most obvious with color schemes where the new scheme doesn’t take effect until I close and reopen a file, but more insidious and annoying when it’s indentation settings. (The settings aren’t even applied on restarting ST3, only on closing and reopening the file)
This will be a massive pain if I decide to change a setting while I have numerous large workspaces open, so I’d like to know if this is expected behaviour.
Indentation issues
- I can’t insert a literal tab on an empty line. This regex in the config is wrong (
*
should be+
):
{ "keys": ["shift+tab"], "command": "unindent", "context":
[
{ "key": "preceding_text", "operator": "regex_match", "operand": "^[\t ]*" }
]
},
-
With
detect_indentation
false all files default to tab mode - I’d like them to default to spaces mode.- I could use
translate_tabs_to_spaces
except this option also makes it impossible to insert a literal tab, as it’s turned into spaces immediately (Even via copy paste) - Is there an undocumented option to set default indentation mode explicitly?
- I could use
-
I’d also like indent changes to automatically change all of the indentation on that line to the currently chosen one. If I’m going to change the indentation it might as well prevent a mixture of tabs and spaces. Can this be done by tweaking keymap settings?
Other things
-
Is it possible to close open files with a middle click in the sidebar?
-
Is it possible to hide files/folders from the sidebar like with
folder_exclude_patterns
without disabling it’s indexing? -
Is it possible to show the current scope in the stat bar? (Like in the ST2 only plugin Current Scope - notice that it’s the code scope not the editor scope:
Classname::methodName
)