Highlighting Matching Delimiters
When you work with code in the editor, dotPeek can help you quickly understand code structure by
highlighting the opening or closing delimiter
when you set the caret at its pair.
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.
If necessary, you can change the default behavior in the following ways:
- Highlighting of matching delimiters can be turned off.
- dotPeek can highlight the matching delimiter only when the caret is at outer side, or when it is at any side of its pair.
To define how dotPeek highlights matching delimiters, use the Highlight matching delimiters preference on the Environment | Viewer options page.
This feature is inspired by and borrowed from JetBrains ReSharper, a developer productivity tool for Microsoft Visual Studio.