tomasr / viasfora

A Visual Studio Extension containing miscellaneous improvements to the editor.
Other
557 stars 91 forks source link

Brace/Parentheses levels never use colors past Level 4 #269

Closed mzhukovs closed 5 years ago

mzhukovs commented 5 years ago

I see this in both latest VS2017 and VS2019 (ver 16.0 RC 3) - perhaps I am unaware of the logic but I would expect the colors specified in the settings for Levels 1 to 9 would ALL be reflected in the nested parentheses but for some reason it doesn't seem to go past Level 4 before starting over to repeat the colors again. Please let me know if this is intentional (and if so, why)? Thank you in advance.

image

image

tomasr commented 5 years ago

@mzhukovs You're missing setting the Rainbow Depth option which controls how many nested levels are supported. It does default to 4, so that's why you're not seeing the other colors being used.

mzhukovs commented 5 years ago

Aha! Figured it was too obvious to be a bug or something. Thanks for the quick response!