[TxMt] Re: Using Function/Method symbols in Snippets

Allan Odgaard mailinglist at textmate.org
Sat Apr 18 07:16:42 UTC 2009


On 16 Apr 2009, at 15:44, Rob McBroom wrote:

> [...]
> Don't know if this has been requested also, but a related feature I've
> occasionally wished for is a way to add the symbols to the list of
> completions. Probably not something that should be on by default, but
> perhaps a preference like "useForComplete = 1;". I guess that's not
> limited to symbols, so maybe it's not as related as I thought, but you
> get the idea.
>
> I know the words themselves are already available for completion, but
> it might be more than one "word" or you might want the thing that
> results from a symbolTransformation instead of the original thing.

Can you give an example of when this is useful?

I think this should be handled by a custom completion command, which  
is already supported (rather than try to make something designed for  
one purpose somehwat useful in rare cases for another purpose).




More information about the textmate mailing list