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@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@lists.macromates.com
http://lists.macromates.com/listinfo/textmate