Menu

#13 Iterable variables (one var inserted )

open
nobody
GSnippets (1)
3
2008-08-22
2008-08-22
No

I put the Patrik Idea...

> Another extra feature: Iterative input (I dunno if the name is
> correct). Take for example an XML-tag snippet. You could make the
> snippet have a special input parameter that will repeat until you
> press a key-combination (e.g. Shift-Tab?). So this could be used to
> insert more and more attributes. Example:
> <${name}${ ${attr}="${value}"}>$0</${name}>
> If one presses e.g. Tab after inputting ${value}, it will not jump to
> $0 as usual, but instead ask one to input another attribute-value
> pair. And for example Shift-tab would take one to $0 instead.

Discussion


Log in to post a comment.