How can you disable Gutter Indicators in VS Code?

后端 未结 3 1240
梦毁少年i
梦毁少年i 2020-11-28 08:57

In VS Code, if there\'s version control in a folder you\'re working in, it will try and indicate what lines are new and what lines are changed with little color patches in t

3条回答
  •  天命终不由人
    2020-11-28 09:32

    It is possible to change it in settings.json Ctrl+,

    "scm.diffDecorations": "all" | "gutter" | "overview" | "none"
    

    Or you can make them transparent:

    "workbench.colorCustomizations": {
        // Gutter indicators (left)
        "editorGutter.modifiedBackground": "#0000",
        "editorGutter.addedBackground": "#0000",
        "editorGutter.deletedBackground": "#0000",
        // Scrollbar indicators (right)
        "editorOverviewRuler.addedForeground": "#0000",
        "editorOverviewRuler.modifiedForeground": "#0000",
        "editorOverviewRuler.deletedForeground": "#0000"
    }
    

提交回复
热议问题