[TxMt] Stringless Bundles

Gerd Knops gerti at bitart.com
Wed Sep 21 17:53:24 UTC 2005


On Wed, Sep 21, at 12:41 PM, Allan Odgaard wrote:
>
> Yes -- go to the bundle editor, for your language bundle add a new  
> preferences item (using the + button) and insert:
>
>     smartTypingPairs = (
>         ( "(", ")" ),
>         ( "{", "}" ),
>         ( "[", "]" ),
>         ( "“", "”" ),
>         ( "`", "`" ),
>     );
>
> That gives you type-pairing for the normal characters except " and  
> '. Set the scope for this preferences item to source.«your language».
>
> Typing pairs can also be set for more specific scopes, e.g. ' is  
> already removed from strings and comments in sources (and text, but  
> present inside <tags> in HTML).

Could I have an example of this?

Gerd


More information about the textmate mailing list