Rider Help

Highlighting Matching Delimiters

When you work with code in the editor, Rider can help you quickly understand code structure by highlighting the opening or closing delimiter ((), [], {}, and <>) when you set the caret at its pair. 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.
  • Rider 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 Rider highlights matching delimiters, use the Highlight matching delimiters preference on the page of Rider options.

Last modified: 11 October 2017