On 31 Jul 2005, at 19:48, Juan Carlos Anorga wrote:
Allan, it might be nice then to be able embed placeholders. So we could do things like:
<img src="$1"${2: alt="$3"}${4: class="$5"} />
so to get:
<img src="img.jpg" class="thumb" />
you would type: img<tab>img.jpg<tab><delete><tab><tab>thumb<tab>
Great idea Juan, sadly it was asked for many moons ago and at that time it was impossible for Allan to implement it, although he might have worked something out since.
On 31 Jul 2005, at 09:27, Allan Odgaard wrote:
Not possible -- if you often skip it, I'd suggest removing it from the snippet (IMHO many of the HTML snippets carry too many attributes). If you skip it 50% of the time, you could change the snippet into this:
That's was the general idea behind the "too many attributes". That's the full tag, which most of us won't use it most of the time, but if you have them all in there, then each and everyone can change them to their liking or create off-shoot versions of them.
Kind regards,
Mats
---- "TextMate, coding with an incredible sense of joy and ease" - www.macromates.com -