[TxMt] Snippet - make list for second replacement depend on selection of 1st replacement

じょいすじょん dangerwillrobinsondanger at gmail.com
Sat Jul 2 10:34:23 UTC 2016

Is it possible with snippets to make a first option selection determine the choices displayed for a subsequent option?

An example would be with choosing version numbers, choose a major version number, then constraining minor version number based on the major version number selected.

So ${1|2,3,4|}.${2|<list here should be dependent upon first selection|}

John Joyce

More information about the textmate mailing list