Hello,
I’m having trouble getting snippets to activate because the auto-completion functionality takes preference above snippets.
I have the settings:
{
"tab_completion": false,
"auto_complete_preserve_order": "strict"
}
The documentation in the settings editor for tab_completion
says:
When enabled, pressing tab will insert the best matching completion.
When disabled, tab will only trigger snippets or insert a tab.
The documented behavior is the behavior that I want. I want tab to insert snippets and not autocomplete.
However when I type in the tab trigger for a snippet (println
) and I press the tab key <tab>
then the snippet does not activate, but the auto-completion activates.
Question: How do I get snippets to complete with their tab trigger?
Searching through past topics, I see there is a bot called @OdatNurd that automatically asks if the scenario was tried in Safe Mode, so I tried that out too.
Here are the reproduction steps:
- Open Submlime text 4143 in safe mode
- Open up user preferences
- Set the preferences to the preferences listed above, specifically
"tab_completion": false
. - Type in a tab trigger for a snippet
- Press tab
Expected behavior: Snippet triggers
Actual behavior: Auto-completion triggers