This should be this option:
From the general Editor features:
By default, the IDE automatically inserts matching pairs of braces, brackets, and quotes.
When you type an opening curly brace and then press Enter, the closing brace is added automatically.
For (, [, ", and ', the editor inserts a matching pair right away.
If, for some reason, this feature is disabled, enable it as follows:
Choose Tools > Options > Editor > Code Completion
.
Select the Insert Closing Brackets Automatically
checkbox.
The editor also highlights matching pairs of braces, brackets and quotes.
For example, place the cursor before any brace or bracket and, if it has a matching pair, both will be highlighted in yellow.
Single brackets of any type are highlighted in red and the error mark is displayed in the lefthand margin.
To customize the highlight colors, choose Tools > Options > Fonts & Colors > Highlighting
.