Home Download Buy Blog Forum Support

chaining snippet expansions

chaining snippet expansions

Postby lastobelus on Thu Dec 13, 2012 12:18 am

I have a bundle for textmate that contains the name of a hundred or so common business objects, in four forms, with five snippets each to implement a chain. The snippets are setup so that each form is the tab-expansion for the next form. For example:

iv[tab] expands to invoice
invoice[tab] expands to invoices
invoices[tab] expands to Invoice
Invoice[tab] expands to invoice_id
invoice_id[tab] expands to invoice

After importing into Sublime Text I noticed that snippet expansion chaining does not work. If I type iv[tab][tab], it stops after the first expansion, and will only expand "invoice" to "invoices" if I move the cursor away and back.

Is there anything I can do about this? If not, where would I enter chained expansion as a feature request.
lastobelus
 
Posts: 4
Joined: Wed Dec 12, 2012 11:10 pm

Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 10 guests