Sneek Peek
I'm working on some bundles for an upcoming release and I'm starting to use a lot commands within tags.
Here's an example of something in the Python Bundle:
pf
expands to:
print "<{s}>" % <{s:ArgList(Count(@z, '%[^%]'))}>
You'll then get an argument list which varies in length depending on the number of placeholders in your print string.
A print string of "The quick, %s %s jumped over %d benches"
will expand to:
print "The quick, %s %s jumped over %d benches" % (<{}>, <{}>, <{}>,)
(Well not really, as the cursor will be sitting on the first empty tag but you get the idea).
The only problem with commands is that they can take up a lot of space but a good choice of function name can help.