Visual Studio Extension Guru Intros Rainbow Braces to Make Sense of Code – Visual Studio Magazine

Aug 31, 2022 by The Beat Maker - 0 Comments

News
Visual Studio extension expert Mads Kristensen’s latest creation is Rainbow Braces, used to colorize brace pairs in order to better understand nested code.
A principal program manager on Microsoft’s Visual Studio dev team, Kristensen is known for his many extensions — nearly 200 — that add functionality to the company’s flagship IDE.
Last week, he took to Twitter to announce Rainbow Braces, which was received with much developer enthusiasm because it “Colorizes matching brace pairs to make it easy to identify them and their scope. Works for curly brackets, parentheses, and square brackets.”
The new offering was inspired by a Jan. 6 feature request on the Developer Community site that read:
Apparently asking “Pretty Please?” did the trick of persuading Kristensen to author the Rainbow Braces extension last week. Many developers lauded the new tool, with one asking if it was possible to provide toggle on/off functionality, which Kristensen added along with other requested functionality in a quick update.
Kristensen said his take on a simple brace colorizer was inspired by the free Viasfora extension from Tomas Restrepo (374,218 installs), which lists “Rainbow Braces” among several other capabilities. When asked why developers shouldn’t just use that tool, Kristensen replied that numerous people over the years have expressed a desire for a smaller extension that does nothing but rainbow bracing.
A commenter also found an advantage over Viasfora: “I just installed it [Kristensen’s Rainbow Braces], thank you! I didn’t like the way Viasfora changed the colours of other text without the ability to disable it.”
As of this writing, Kristensen’s announcement tweet has garnered 348 likes, 21 comments and 47 retweets, while the tool in the VS Marketplace has been installed 717 times since its Aug. 24 debut, earning a near-perfect 4.9 rating from 11 developers who reviewed and rated it. “Love it. As someone with partial color blindness and various other optical maladies, this helps a lot. Especially with long JSON declarations in appsettings.json,” said one review.
Kristensen encouraged developers to vote for the original Developer Community request, which could increase the chances of Rainbow Braces becoming a native, baked-in feature.
The project is hosted on GitHub here.
About the Author
David Ramel is an editor and writer for Converge360.

Printable Format
It’s a one-stop shop for tools and resources that enable Java jocks to productively code, deploy and scale their apps.
Microsoft has eased some licensing requirements for Visual Studio Build Tools (VSBT), which comprises a standalone MSVC compiler, libraries and scripts for C++.
Microsoft released TypeScript 4.8 with a host of new features ranging from Find All References improvements to the ability to exclude specific files from auto-imports.
A new “getting started” experience highlights the August 2022 update to the PowerShell Extension for Visual Studio Code.
Visual Studio extension expert Mads Kristensen’s latest creation is Rainbow Braces, used to colorize brace pairs in order to better understand nested code.
> More Webcasts
Problems? Questions? Feedback? E-mail us.

source

Leave a Comment