[TxMt] Bundle snippets scope selector -- excluding scope?

Harald Lapp harald.lapp at gmail.com
Tue Nov 26 10:23:31 UTC 2013


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


More information about the textmate mailing list