更改' [Dart]的颜色字段的值' _lectures'没有使用'警告

时间:2018-05-04 10:11:18

标签: visual-studio-code dart

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

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

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

(我是绿色/红色的盲人,所以我不能像红色和绿色下划线那样容易区分......加上我的显示器有点独特!)

1 个答案:

答案 0 :(得分:1)

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

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

有关这些的更多信息,请访问:https://code.visualstudio.com/docs/getstarted/theme-color-reference