[TxMt] Nested snippet problem

Andy Herbert andy.herbert at ntlworld.com
Fri Mar 17 20:09:58 UTC 2006


I've been experiencing a problem in the otherwise excellent Textmate,  
it's related to tab-completing a snippet within a tab completed  
snippet, here's a simple example to illustrate my problem:

I have created a new text.html document and typed mailto<tab> to get  
the mailto snippet, now in the href value I am attempting to insert  
another snippet I've created which is a shortcut for my email  
address, unfortunately it assumes the shortcut is the value for href,  
then moves to the subject value.

I can understand why Textmate works this way, after all, why would  
you want to insert a snippet in to a field which expects a literal  
value, but ideally I would expect it to tab-complete the email  
address, then another tab to move to the subject field.



More information about the textmate mailing list