microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.77k stars 28.73k forks source link

Bracket pair colorization - options for showing #133471

Open redtopia opened 3 years ago

redtopia commented 3 years ago

I think the bracket pair colorization feature is a great feature, but it's too distracting for me to see it all the time. I would prefer to see it only when the editor caret position is adjacent to a bracket (and while typing), or if I have a bracket selected.

What I'm suggesting would be a combination of the bracket matching feature, which currently only outlines the matching bracket, and then would also color the bracket.

IllusionMH commented 3 years ago

/assign hediet -alexdima

hediet commented 3 years ago

Do you mean this feature?

redtopia commented 3 years ago

@hediet I'm thinking of a combination of the bracket matching feature and the bracket pair colorization feature. So instead of just outlining the brackets as is shown in your screenshot above, it would also color the matching bracket. I believe this would be an improvement on the bracket matching feature, which I currently use, because it would make the matching bracket rendering more pronounced.

hediet commented 3 years ago

Related: https://github.com/microsoft/vscode/issues/85775 and https://github.com/microsoft/vscode/issues/19534

effinsky commented 2 years ago

think we're at over 20 upvotes for this now.

hediet commented 2 years ago

Would https://github.com/microsoft/vscode/issues/85775 fix this for you? It would allow themes to change the color of the selected bracket pair.

This color would not depend on the nesting level though (but I don't think that is neccessary).

redtopia commented 2 years ago

While #85775 may lead to better rendering, I don't want to rely on a theme to make the added visual effects tolerable. I think the coloring of brackets can be super helpful at times but I personally don't want to see it all the time. Seeing the bracket pair colors only when you're dealing with pairing would be ideal to me.

xparq commented 1 year ago

This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.

Any follow-up please? (It was more than a year ago.)