madskristensen / RainbowBraces

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

Consider adding settings for up to 10 nesting levels. #11

Closed AraHaan closed 1 year ago

AraHaan commented 2 years ago

Is your feature request related to a problem? Please describe. It is very common for some code to be nested up to 10 levels (in complex code). Many people write complex code in situations on UI as they want to limit the number of methods they got to try to avoid stack overflows.

Describe the solution you'd like A way to configure colors for up to 10 nesting levels.

Describe alternatives you've considered None yet.

Additional context None yet, created issue on phone.

madskristensen commented 2 years ago

I'm not sure I understand the need and need your help. The extension cycles through 4 colors on repeat to accommodate an infinite number of nested levels. Having the same color show up every 5 level is what you think is too frequent?

AraHaan commented 2 years ago

Yes, I think it could be too frequent.

madskristensen commented 2 years ago

So how many more levels do you think are needed? 6 total instead of 4 or...? The challenge is finding colors that work next to each other and that works in both dark and light themes

AraHaan commented 2 years ago

I think 6 is ok yeah, as for colors I can look into possible values that can work for both light and dark if needed.

domyd commented 1 year ago

Perhaps there could be a setting for the level? I would like it to cycle through three colors, but that's currently (seemingly) not possible to do. If there were six colors, I could duplicate them and achieve it that way, but then people who want a cycle of four colors couldn't achieve that anymore.

Maybe adding like ten different color settings and a separate setting that determines the cycle length would be ideal?

AraHaan commented 1 year ago

I agree with that as well.