Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Make the code folding icons always show in Visual Studio Code

Loving using Visual Studio Code but one peeve is that I always think my code isn't indented properly since the left edge of the actual editor is kind of far from the numbers.

Is there any way to show the code folding +/- icons by default? It only shows them if you hover over the gutter.

As an aside, if there is a way to change the color of the gutter so it looks distinct from the editor?

like image 826
Vincent Avatar asked Apr 18 '17 15:04

Vincent


1 Answers

To change the color of the gutter, you can add following to the user settings:

"workbench.colorCustomizations": {
    "editorGutter.background": "#abcdef"
}

And to show folding icons:

"editor.showFoldingControls": "always"

Note that this setting requires you to have at least 1.13.

like image 190
smhrjn Avatar answered Oct 03 '22 22:10

smhrjn