Closed keith-hall closed 2 years ago
I guess, even with version: 2
, we should not impose pop: 1
. Maybe after pop: | <- caret
, we could present an additional AC of true
& 1, with default to 1 ? We could get even advanced and have 1 selected with an ability to increment if you press up/down (since pop
supports knocking off arbitrary no. of contexts off the stack now in ST4)
pop: ${1:1}
is what I would go with.
PackageDev currently always offers a completion of
pop: true
, but when thesublime-syntax
file specifiesversion: 2
,pop: 1
is preferred, so it would be nice if PackageDev would check the version and offer the relevant default pop value based on that :)