[TxMt] Dropdown options in snippet

Brett Terpstra brett at circlesixdesign.com
Tue Oct 24 11:42:28 UTC 2006


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...

Brett

On Oct 24, 2006, at 6:36 AM, Ed Singleton wrote:

> Ok, fair enough.
>
> Is there any other way to fake this kind of behaviour, such as by
> adding a dictionary of words into the escape completion list of words?
>
> Ed
>
> On 24/10/06, Allan Odgaard <throw-away-1 at macromates.com> wrote:
>> On 24. Oct 2006, at 12:42, Ed Singleton wrote:
>>
>> > Is it possible to provide a list of options to someone in a  
>> snippet?
>> > For example at a tabstop, rather than them writing in text, you  
>> could
>> > provide a list of options that they could select from?
>>
>> Currently not, no.
>>
>>
>> _____________________________________________________________________ 
>> _
>> For new threads USE THIS: textmate at lists.macromates.com
>> (threading gets destroyed and the universe will collapse if you  
>> don't)
>> http://lists.macromates.com/mailman/listinfo/textmate
>>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate

Brett Terpstra : Art Director
Circle Six Design, Inc.
111 Riverfront Dr, Suite 204
..................................................
p: 507.459.4398
     877.858.4332
f: 1.866.540.3063
e: brett at circlesixdesign.com
http://www.circlesixdesign.com
..................................................





More information about the textmate mailing list