Reputation: 411
Is there a free bracket colorization extension compatible with VS 2022 and Windows Pro 10 OS? I used Viasfora with VS 2019 but it is not yet available with VS 2022. I checked free Extension options in Manage Extensions, and as far as I can see there isn't one, but I am hoping I am wrong. In Managed Extensions I found a tool called IndentRainbow, but it adds color to indented space, not to brackets. I googled Bracket Pair Colorizer but it is not available as a VS 2022 extension, and I am not able to install it from its site - when I click Install nothing happens.
Upvotes: 9
Views: 9025
Reputation: 9055
As of 17.6.1 this is supported (it was previously added in earlier preview builds of Visual Studio, but this version adds official support).
Release notes:
You can enable or disable colorization by going to Tools > Options > Text Editor and toggling the "Enable brace pair colorization" checkbox.
After enabling this, all matching braces/parentheses/brackets should be color matched:
Upvotes: 5
Reputation: 180
I am using the Rainbow Braces: https://github.com/madskristensen/RainbowBraces with Visual Studio 2022 Professional and Windows 11.
Upvotes: 0
Reputation: 10897
There is a fork of the Viasfora repo with a .vsix that works with VS2022 here - it seems to work well and not found any issues with it so far.
It is possible that Tomas Restrepo the creator of Viasfora will create an official fix for his great extension.
Upvotes: 13