Skip to content

madskristensen/RainbowBraces

Repository files navigation

Rainbow Braces for Visual Studio

Build

Download this extension from the Visual Studio Marketplace or get the CI build.


Colorizes matching brace pairs to make it easy to identify them and their scope. Works for curly brackets, parentheses, square brackets and angle brackets. Inspired by the Bracket pair colorization feature request for Visual Studio (please go vote for it).

Screenshot

Both light and dark themes are supported.

Screenshot

Razor templates (.razor) are now supported.

Razor

To toggle the brace colorization on and off, a menu item is available under the Edit -> Advanced menu or using the shortcut Ctrl+Shift+9.

Menu

You can customize the colors from the Tools -> Options dialog.

Options

There are also a few other specific options available under the Fonts and Colors tree node.

Options2

Colorize vertical lines

VerticalLines VerticalLinesOptions

For more advanced features, I recommend the free Viasfora extension by Tomas Restrepo.

How can I help?

If you enjoy using the extension, please give it a ★★★★★ rating on the Visual Studio Marketplace.

Should you encounter bugs or if you have feature requests, head on over to the GitHub repo to open an issue if one doesn't already exist.

Pull requests are also very welcome, since I can't always get around to fixing all bugs myself. This is a personal passion project, so my time is limited.

Another way to help out is to sponsor me on GitHub.