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

Rob McBroom mailinglist0 at skurfer.com
Tue Nov 26 13:53:42 UTC 2013

On 26 Nov 2013, at 5:23, Harald Lapp wrote:

> 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.

The most obvious answer is “Don’t hit ⇥ if you don’t want the 

If that’s not an option for some reason, you can exclude certain parts 
of the document (assuming you’re in a different scope, like a 

See http://manual.macromates.com/en/scope_selectors#excluding_elements

Rob McBroom

More information about the textmate mailing list