Sublime Forum

The order of triggers for different snippets

#1

There are two triggers for two snippets, one is * the other is #*, when I trigger #*, the first one in popmenu is for *, second #*, it is obvious that I only need trigger #* rather than * in case #*. Of course, it triggers * only when * is not leaded by #. But I want to change the order of triggers in case #* or just trigger #*, How should I do to fix it?

0 Likes

#2

What language is this for?

0 Likes

#3

You might habr success with the word separators settings, but iirc word separator characters were hard-coded for completions or something. Completions in general don’t perform well when special characters are involved.

0 Likes

#4

They perform well. I just want to change the order, or let #* not trigger the snippet triggered by *

0 Likes