Table of Contents

Auto Brackets

The name of the feature is actually misleading and could be named as auto-braces or auto pair symbols. But independently of the name, functionality used for an auto-closing open symbol by closing symbol.
In addition, functionality is also responsible for deleting of pair symbols together; if a close symbol is deleted and there is only white space between of both symbols.

Rules

Here is the list of rules used:

You can temporary disable Auto-Brackets feature for all syntaxes using Edit.ToggleSmarties command.

Code Templates

To achieve behavior with different formatting for some of the pair symbols, you can use code templates. Add code template with { (or any open brace defines in OpenClose) as a key and text like this:

{
    %|% 
}

And after typing { you would see tooltip for expanding template or you can directly call it with Ctrl+Enter or get code automatically inserted (as for pair symbol). Behavior depends on text position.

Configuration

Everything is based on symbol pairs defined in OpenClose node of spec XMLs of current syntax and can be modified by direct changing of this setting in schema file.