oderwat / vscode-indent-rainbow

Extension which shows indentation with a faint rainbow colored background to make them more readable
MIT License
406 stars 53 forks source link

Disable Redundant Indentations #163

Closed yoshim3to closed 11 months ago

yoshim3to commented 11 months ago

Hi there, I was wondering if there was a method for cleaning up redundant indentations, such as several tabs before a comment (or just comments in general)?

I've been messing around with the "Ignore Line Patterns" and "Color on White Space Only" settings to see if this was already implemented, but this seems to only create exceptions for error highlighting, so I was hoping for a similar feature to skip rendering indent colors when encountering certain RegEx patterns.

image

For example, I want the indentations in the red box to not be rendered because I don't really need to know which tab group my comments are in, and the code would look a lot cleaner without them (ideally it would just render the first orange indent).

Any help is appreciated, thanks for taking the time to read!

oderwat commented 11 months ago

Well, this plugin shows the indentations. It is not about "looking" a certain way.