dotPeek Web Help

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.

To define how dotPeek should highlight matching delimiters
  1. On the main menu, choose Tools | Options.
  2. Open the Environment | Viewer page.
  3. 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.
  4. Click OK.

This feature is inspired by and borrowed from JetBrains ReSharper, a developer productivity tool for Microsoft Visual Studio.