Plugins 插件HighlightWords在Sublime Text 3中如何配置?

Plugins 插件HighlightWords在Sublime Text 3中如何配置?,plugins,sublimetext3,highlight,Plugins,Sublimetext3,Highlight,您好,我已经下载了HighlightWords插件,将其与Sublime Text 3一起使用,它承诺使用一些颜色突出显示文字。从这里下载: 有人能帮我更改默认高亮显示的颜色吗。我试过的都没能做到。这是要修改的文件: { // The colors to highlight texts are specified by a list of theme scope names, // and HighlightWords uses this list in circular or

您好,我已经下载了HighlightWords插件,将其与Sublime Text 3一起使用,它承诺使用一些颜色突出显示文字。从这里下载:

有人能帮我更改默认高亮显示的颜色吗。我试过的都没能做到。这是要修改的文件:

  {
   // The colors to highlight texts are specified by a list of theme scope names,
   // and HighlightWords uses this list in circular order.
   "colors_by_scope":
   [
      //"keyword",
      //"number",
      "string",
      "entity.name.class",
      "variable.parameter",
      "invalid.deprecated",
      "invalid",
      "support.function"
   ],
   "whole_word": false,
   "use_regex": false,
   "ignore_case": false,

   // Keywords to be always highlighted, clear the list to disable it.
   // "keyword" are literally matched, and "color" refers to theme scope names.
   // Note that json has some special characters like '\' should be escaped.
   "permanent_highlight_keyword_color_mappings":
   [
      //{"keyword": "TODO", "color": "support.function"},
      //{"keyword": "FIXIT", "color": "support.function"},
   ]
}

您可以在插件用户设置中覆盖默认插件设置。转到“菜单首选项”>“软件包设置”>“HighlightWords”>“设置用户”,然后添加要覆盖永久\u高亮显示\u关键字\u颜色\u映射属性的单词和颜色。示例内容:

{    
    "permanent_highlight_keyword_color_mappings":
    [
        {"keyword": "stackoverflow", "color": "variable.parameter"},
        {"keyword": "sublime", "color": "string"},
        {"keyword": "plugin", "color": "invalid.deprecated"},
    ]
}
保存文件,可能需要重新启动升华。结果: