[TxMt] Nested Snippet Evaluation

Alain O'Dea alain.odea at gmail.com
Sat Aug 4 00:27:38 UTC 2007


TextMate [r1405#17788]

I'm not sure if this is an issue specific to the Erlang bundle.

I want to write the following:
-import (lists, [map/2, sum/1]).

I want to write it using snippets as follows and have my cursor appear
after ending dot:
imp<TAB>lists<TAB>map<TAB>2<^,>sum<TAB>1<TAB>

However the result of this is:
-import (lists, [map/2, sum/1	<CURSOR>]).

Basically I expect surrounding snippets to remain in something like a
stack so that their tab stops are honored prior to the tab key being
accepted as a tab character.

Is this supported in TextMate?



More information about the textmate mailing list