Sublime Forum

Using tab-trigger on field

#1

When there are multiple fields in a snippet and if I try to use another snippet on a field, the tab-trigger brings me to the next field rather than executing the trigger.

For example,
to write { }, make a snippet \left\lbrace ${1:placeholder} \right\rbrace and
for ( ), \left( ${1:} \right) with tab trigger :rb, then

\left\lbrace :rb+tab \right\rbrace
brings me to the end of the line, instead of open up \left( ${1:} \right)

Is there any solution to this problem?
Im currently pressing esc but i have to move around the cursor to find the next field and really want to avoid this.

${0:} seems to be a good solution if there is only one field but not in general.
It would be good if sublime recognizes a snippet then do not let tab to go to the next field

0 Likes

#3
0 Likes