Visual Studio 代码自定义颜色被覆盖?

Visual Studio Code custom color gets overwritten?

这些是我在 settings.json:

中的自定义颜色设置
"editor.tokenColorCustomizations": {
   "textMateRules": [{
      "name": "Object keys, TS grammar specific",
      "scope": [
         "meta.object-literal.key",
         "support.object.key",
         "support.type",
         "support.type.property-name.json",
         "entity.name.type",
         "entity.other.attribute",
         "entity.name.namespace",
         "entity.name.scope-resolution",
         "entity.name.class",
         "storage.type.object.array.java",
         "storage.type.primitive.array.java",
         "storage.type.parameters.groovy",
         "storage.type.object.array.groovy",
      ],
      "settings": {
         "foreground": "#ff3300"
      }
   }]
}

因为我只在 Javascript 中编码,范围内有一些明显无用的东西,但我试图 bash 任何可能的参数,拼命试图覆盖负责的主题行为覆盖。当然,不知道自己在做什么,我失败了。

我以为我犯了某种错误,但如果我重新启动 VSC 它确实有效,只需 1 或 2 秒,然后它会自动重置为主题标准(基础团队是 VSC Dark 标准)。

: On start:

After a couple seconds:

我没有 "beautifying" 或图形扩展。 VSC 已更新至最新版本。 覆盖的原因是什么,我该如何避免?

  • 转到设置。

  • 关闭语义突出显示