-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
command to toggle indent rainbows? #11
Comments
Whats the reasoning behind it: Aesthetics or performance? |
I need this as well, for aesthetic reasons. Indent rainbow is very helpful, but I don't need it all of the time. Sometimes all the colors can get distracting. |
I agree. I only really need this when I'm cleaning up loose indents or working with something like Python, and having a command to easily toggle this on and off would be a major quality of life improvement IMO. |
A first step would be to only activate it for the languages you want to use it for.
Or disable it for some:
Another way could be using a hotkey to toggle settings. This can be done with the "toggle" extension. https://marketplace.visualstudio.com/items?itemName=rebornix.toggle And set up a Key similar to this:
But this will only update the window if the editor switches between files (indent-rainbow does not check it's settings for every keypress). I agree that a hotkey which lets you switch between "configured languages", "all" and "none" is useful and may implement this "some day". |
Is it feasible to hook up a keystroke to toggle the rainbows on and off?
The text was updated successfully, but these errors were encountered: