In C#, any opening parenthesis, bracket, brace or quote (altogether called "delimiters") can be highlighted with color or outline whenever you place the caret at the corresponding closing delimiter, and vice versa.
- On the main menu, choose Tools | Options.
- Open the Environment | Viewer page.
To enable delimiters matching, make sure to select
Highlight matching delimiters when caret is:
- at outer side to highlight matching delimiters when the caret is either to the left of an opening delimiter or to the right of a closing delimiter, or
- at both sides to let dotPeek highlight matching delimiters when the caret is at any side of a delimiter.
- Click OK.
This feature is inspired by and borrowed from JetBrains ReSharper, a developer productivity tool for Microsoft Visual Studio.