Sublime Forum

Stalling of tab key upon deleting parents of nested rules

#1

Hello,

Inside a snippet, given the rule: ${1: extends ${2:Class}}, if the parent rule (i.e. ${1: … }) is deleted, why does the cursor stall in place upon pressing tab again? As if it is making up for the deleted nested rule (i.e. ${2:Class}).

Ideally, and I defer to the better judgment of the community, if the parent of the nested rule is deleted, shouldn’t the next tab skip to the next rule, skipping the nested rule altogether. (e.g. in this case go to ${3:Class} if such a rule was declared), or am I doing something wrong?

Thanks.

0 Likes