Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
197 views
Welcome To Ask or Share your Answers For Others

1 Answer

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...