+13

Nested placeholders in snippets should be forgotten if the parent content is removed

EHLOVader 13 year бұрын updated by Jay Gillibrand 12 year бұрын 1
When nesting placeholders/tab stops in snippets, and you erase the parent placeholder, subsequent tabs should go to the next logical placeholder/tab stop instead of the now missing ones.

I am unsure if this is expected behavior, but it is definately inconvenient.
+6
To clarify, I think this is saying if you have a snippet like:

  ${1:var ${2} = } ${3:something};

When $1 is selected, if you delete or overwrite it, then $2 should be skipped (since it's gone) and you should move to $3 right away. Currently, you have to hit tab twice to get to $3.