[TxMt] Dropdown options in snippet

Ed Singleton singletoned at gmail.com
Tue Oct 24 12:29:50 UTC 2006


On 24/10/06, Brett Terpstra <brett at circlesixdesign.com> wrote:
> Just a thought, but I think you could have your snippet insert a word
> that triggers multiple snippets (all set to the same tab trigger)
> followed by a $0, so after the initial snippet they would press tab
> and be given the menu of triggered snippets that would replace the
> current word.  This is essentially the same as the repeating tabstops
> idea from yesterday...

That is very clever, but I've just tried it and it appears that tab
doesn't cause a snippet to start whilst it is in a snippet.  Once you
get to $0 then they will work, but not in the middle of a snippet.

Shame.

Ed



More information about the textmate mailing list