madskristensen / RainbowBraces

A Visual Studio extension
Apache License 2.0
132 stars 7 forks source link

Differentiate between statement block brackets and object/collection initializer brackets #38

Open OJacot-Descombes opened 1 year ago

OJacot-Descombes commented 1 year ago

Since nested statements are usually indented, colorizing block statement brackets does not add much of a value while being distracting. Indentation is also done automatically and very well by Visual Studio.

However, Visual Studio does not indent, or line up object and collection initializers wrapped over several code lines. So, it can be difficult to fix unmatched brackets and bracket colorization would be helpful here. It would also help when the arguments are lined up.

Therefore, I would like to colorize object and collection initializer brackets only. This would be possible if we had two separate options