This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Allow context around tab stops #126
Open
Description
Hi,
I have a couple of snippets like the following:
func(${1:arg1}, arg2 = ${2:defaultValue})
Now, you sometimes do not want to set arg2. In Python for example, it can make a difference whether you omit an argument or set it to its default value.
Thus, when I reach tab stop 2 and hit "delete" or "backspace", I would like ", arg2 =" to disappear with it.
I would offer to implement this, but I'm not sure how to expand the tab stop syntax without breaking compability.