Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change indent guide line color between brackets in VSCODE?

Tags:

I would like to change the color of the line between 2 brackets.

Actually, I want this

enter image description here

Here is what I would like

enter image description here

Does anyone know how to do that?

Many Thanks

like image 648
Xavier Sky Avatar asked Dec 22 '17 13:12

Xavier Sky


People also ask

How do I enable bracket colors in Vscode?

The feature can be enabled by adding the setting "editor. bracketPairColorization. enabled": true .

How do I change the Indentation color on a rainbow?

You can configure each color (the error color and four indent colors) independently for each scheme (Settings / Editor / Color Scheme / Indent Rainbow). Firstly, uncheck checkbox "Inherit values from", then change background color. See screenshot for details.


1 Answers

VSCode v.1.23 (released May, 2018) added the ability to colorize the active and other inactive indent guides:

"workbench.colorCustomizations": {     "editorIndentGuide.activeBackground": "#ff0000",     "editorIndentGuide.background": "#ff00ff" } 

See release notes indent guides

If you only want the active guides to be visible, set the background of the inactives to transparent ala:

"workbench.colorCustomizations": {     "editorIndentGuide.background": "#fff0" } 
like image 144
Mark Avatar answered Sep 28 '22 17:09

Mark