[TxMt] Re: Snippet regex transformation help

Jacob Rus jrus at hcs.harvard.edu
Thu Oct 5 22:31:04 UTC 2006


Ed Singleton wrote:
> I've been playing with snippets a lot recently (best things ever), and
> the one thing I've really missed is a snippets bundle.  I edit my
> snippets in Textmate using the "edit in textmate" thing and there's
> quite a few handy commands I could do with (like "renumber tab stops"
> and stuff) and snippets to insert .  I may try and work out how to
> write the commands and stuff if no one else does soon.

Add that kind of stuff to the TextMate bundle, or perhaps initially to 
the Experimental bundle.  We do indeed need a "snippet" grammar, &c., so 
we can then do things like have a here-doc in a command with "SNIPPET" 
as a token, that will be interpreted as a snippet, &c.  I think several 
of us have wanted to do this for a while, but never got around to it, so 
if you take care of it, that'd be great!

-Jacob




More information about the textmate mailing list