[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 
expansion”.
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 
comment).
See http://manual.macromates.com/en/scope_selectors#excluding_elements
-- 
Rob McBroom
http://www.skurfer.com/
    
    
More information about the textmate
mailing list