Sublimetext3 是否可以更改升华文本3中某些代码的背景色?
我想更改调用的背景颜色_uu$sa_uu登录和gtag,这样我就可以在.js文件中快速找到所有“分析”代码Sublimetext3 是否可以更改升华文本3中某些代码的背景色?,sublimetext3,Sublimetext3,我想更改调用的背景颜色_uu$sa_uu登录和gtag,这样我就可以在.js文件中快速找到所有“分析”代码 this.__$sa__login(user.id)._____ .... gtag( { 'Country': user.zoneId } ) 大概是这样的: 我找到了一个解决方案,这个很棒的超级文本插件 这是我的配置: { // The colors to highlight texts are specified by a list of theme scope names,
this.__$sa__login(user.id)._____
....
gtag( { 'Country': user.zoneId } )
大概是这样的:
我找到了一个解决方案,这个很棒的超级文本插件 这是我的配置:
{
// 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": [
"string",
"entity.name.class",
"variable.parameter",
"invalid.deprecated",
"invalid",
"support.function"
],
"whole_word": false,
"use_regex": true,
"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.
// "flag": 0 - regex, 1 - literal (default), 2 - regex and ignore case, 3 - literal and ignore case
// 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", "flag": 2},
{
"flag": 0,
"keyword": "this\\.__\\$sa__\\w+\\(.*?\\)\\._+",
"color": "text.html.vue source.js.embedded.html meta.export.js meta.object-literal.js meta.object-literal.js meta.block.js meta.function-call.method.js meta.group.js string.quoted.single.js"
},
{
"flag": 0,
"keyword": "gtag\\(.*?\\)",
"color": "text.html.vue source.js.embedded.html meta.export.js meta.object-literal.js meta.object-literal.js meta.block.js meta.function-call.method.js meta.group.js string.quoted.single.js"
}
]
}
为什么否决投票??