[TxMt] Re: Bundle snippets scope selector -- excluding scope?
Ken Snyder
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
solved this.
Ken
On 26 November 2013 10:23, Harald Lapp <harald.lapp at gmail.com> wrote:
> hi,
>
> 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,
>
> harald
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20131126/8c7d62f3/attachment.html>
More information about the textmate
mailing list