Rainbow Braces

Tomas Restrepo edited this page May 24, 2018 · 2 revisions

Inspired by the "Rainbow Parentheses" Vim plugin, this feature makes it easy to keep track of nested parentheses, braces and square brackets:

Rainbow Braces

Features

  • All colors are customizable through the Fonts and Colors dialog in Visual Studio
  • Up to 9 depth levels
  • You can now use the "Rainbow Previous" Ctrl+Alt+, and "Rainbow Next" Ctrl+Alt+. commands to navigate to the braces around the caret position.

Rainbow Highlight

Holding the left Ctrl key for a bit will highlight the rainbow braces around the caret position:

Rainbow Highlight

Rainbow Tooltips

If you hover the mouse over a brace, and the matching brace is apart enough, a tooltip will appear to preview the matching brace:

Rainbow Tooltip

Rainbow Lines

New in v4.0: highlights the current brace scope based on the caret position using lines connecting the opening and closing brace.

Rainbow Lines