[TxMt] Re: Bundle snippets scope selector -- excluding scope?
ken+textmate at ken.net
Tue Nov 26 12:38:00 UTC 2013
Yes your example really hits home with me. I've often been hit by this very
case. Hope the community has some good answers as unfortunately I have not
On 26 November 2013 10:23, Harald Lapp <harald.lapp at gmail.com> wrote:
> i wonder if it's possible to "exclude" scopes using the "scope
> selector" setting for a snippet. for example:
> the PHP bundle defines a tab-trigger for "array" that expands to $...
> = array ... thats fine as long as i am really in the scope
> "source.php". but when i am writing documentation (phpdoc -- which is
> in fact "source.php", too) it's really annoying when the 'array'
> keyword and such get's expanded.
> i wonder what's the best solution to solve this ... would i have to
> define a scope "phpdoc" and overwrite the tab-triggers in there or is
> there any other solution?
> thanks in advance,
> textmate mailing list
> textmate at lists.macromates.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the textmate