Sublime Forum

Snippet trigger doesn't work if it starts with period

#1

I used Package Control to install the jQuery package. A lot of the jQuery snippets start with a period, like .ajax for example. When I type .ajax, or any snippet trigger that starts with a period, it isn’t triggered as it should be. Is this a bug or is this by design? I would think that the creator of the jQuery package would have seen this very obvious bug.

0 Likes

#2

If you want to trigger snippet-completions with a dot then create/modify this setting:

// Additional situations to trigger auto complete "auto_complete_triggers": {"selector": "text.html", "characters": "<"} ],

0 Likes