【问题标题】:Change the colour of the '[Dart] The value of the field '_lectures' isn't used' warning更改“[Dart] 字段 '_lectures' 的值未使用”警告的颜色
【发布时间】:2018-05-04 10:11:17
【问题描述】:

我在这里找到了许多更改颜色的选项 How to color and add styling to my types in VSCode when programming Dart 但我找不到更改

的绿色下划线的设置
'[Dart] The value of the field '_lectures' isn't used'

警告。任何帮助将不胜感激。

(我是绿色/红色盲,所以我无法像大多数人那样轻松区分红色和绿色下划线......而且我的显示器有点独特!)

【问题讨论】:

    标签: visual-studio-code dart


    【解决方案1】:

    曲线中使用的颜色来自 VS Code 主题而不是 Dart Code 插件,因此您应该可以在用户设置中使用 workbench.colorCustomizations 更改它们:

    "workbench.colorCustomizations": {
        "editorInfo.foreground": "#FFAA00"
    }
    

    更多信息请点击此处:https://code.visualstudio.com/docs/getstarted/theme-color-reference

    【讨论】:

    • 太好了,非常感谢(这也是很好的参考指南)
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-02-04
    • 2022-01-26
    • 1970-01-01
    • 2020-11-16
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多