How can you disable Gutter Indicators in VS Code?

后端 未结 3 1225
梦毁少年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:22

    Look under Settings -> Features -> SCM -> Diff Decorations and set to none

    0 讨论(0)
  • 2020-11-28 09:23

    Just go to Settings and search for "Scm Diff Decorations" and set to none.

    0 讨论(0)
  • 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"
    }
    
    0 讨论(0)
提交回复
热议问题