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.
On 26 November 2013 10:23, Harald Lapp firstname.lastname@example.org 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 email@example.com http://lists.macromates.com/listinfo/textmate