首页 > 解决方案 > 如何禁用 VScode 扩展的错误镜头?

问题描述

我只想显示错误声明...和

我想禁用 errorlens 的警告在此处输入图像描述

我试过这样

  "workbench.colorCustomizations": {
    // "editorError.border": "#fff0",
    // "editorError.foreground": "#fff0",
    "editorWarning.border": "#fff0",
    "editorWarning.foreground": "#fff0",
    "editorWarning.background": "#fff0",
    "errorLens.warningBackground": "#fff0",
    "errorLens.warningForeground": "#fff0"
    // ...
  }

但它不起作用......

如何禁用 vscode 的 errorlens 扩展警告?

标签: visual-studio-code

解决方案


推荐阅读