tomasr / viasfora

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

Option to disable horizontal line in "rainbow lines" #324

Open jibbers42 opened 2 years ago

jibbers42 commented 2 years ago

Hello, I would appreciate an option to disable the horizontal line in "rainbow lines", but keep the vertical one. I really like the feature, but unfortunately I find the horizontal line pretty distracting.

In VS Code this is possible and gives you something like: image

vs Viasfora's: image

While example above isn't so bad, in busier code I don't like the horizontal line running through and creating a visual barrier between the lines of code.

Thanks!

jibbers42 commented 2 years ago

Another example of the horizontal lines presence being a bit excessive: image

realparadyne commented 2 years ago

I really like the lines completely linking the brackets, so if it were changed, I would prefer it to become an option and not a change for everyone.

tomasr commented 2 years ago

@jibbers42 By "keeping the vertical line", do you mean something closer to Visual Studio's built-in scope guides?

jibbers42 commented 2 years ago

Yes, I think if the built-in scope line were highlighted that would be fine.

Your plugin is a bit smarter though, for example I don't think the built-in guides understand multi-line parameter lists: image

Unfortunately, your plugin does get confused with some indentation styles: image

So either choice of highlighting the built-in guides or removing the horizontals from your existing decoration would be great (and maybe fixing the indentation issue)!

K-RutviK-K commented 2 years ago

how to enable underline and vertical line visual studio 2019? i installed version 4.3.195 but its only showing colorized brackets @jibbers42 is underline feature only available in vs 2022?