In ST4 autocomplete properly respects the "auto_complete_selector"
setting and such doesn’t activate automatically inside regular html.
Isn’t "auto_complete_selector"
supposed to control where the autocomplete popup should automatically trigger while typing? This worked the same for me in ST3 and didn’t activate inside regular HTML.
Typing a <
will enable auto-complete, though you can also change the setting to have it always enabled inside html.
I think this is not what the OP tries to achieve. They want to insert the completion with a single keypress and without displaying the autocompletion popup first. This used to be what the "tab_completion"
setting controlled. This setting is still present in ST4 and with the same description, but it doesn’t seem to work anymore (at least it doesn’t do what it describes).
// When enabled, pressing tab will insert the best matching completion.
// When disabled, tab will only trigger snippets or insert a tab.
// Shift+tab can be used to insert an explicit tab when tab_completion is
// enabled.
"tab_completion": true,
Adding text.html
to the "auto_complete_selector"
would constantly trigger the popup when typing normal text, so this would be very annoying.