[TextMate] Tab in snippets

Sune Foldager cryo at diku.dk
Wed Oct 6 18:28:49 UTC 2004


On 6/10-2004, at 20:21, Joost Schuttelaar wrote:

> Small thingie: I think it would be very convenient if after entering 
> all the parameters in the snippet, the tab key would place the cursor 
> at the end of the snippet.

I agree, although this is possible of course in the current version 
like this:
<img src="$1" />$2

Or similar. I believe $0 can also be used for that purpose, regardless 
of the number of tab stops. I sort of think that this should not be 
neccesary and it should always end up after the snippet body no matter 
what... I can't imagine any situation where you _don't_ want that.. ?

-- 
Sune.
"Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn"




More information about the textmate mailing list