在此图像中,函数定义“planetorbit”被突出显示,然而,“speed”,“resizemode”和“shapesize”也是如此。
有没有办法只突出显示“planetorbit”?
我试过在textMate中使用"scope": "entity.name.function"
,但这两个都突出显示了。
我的颜色更改设置为:
"editor.semanticHighlighting.enabled" : true,
"editor.tokenColorCustomizations": {
"keywords": "#FF8000",
"comments": "#DD0000",
"strings": "#02ff02dc",
"variables": "#FFFFFF",
"functions": "#FFFFFF",
"numbers": "#FFFFFF",
"textMateRules": [
{"scope": "variable.parameter",
"settings": {"foreground": "#FFFFFF"}},
{"scope": "meta",
"settings": {"foreground": "#FFFFFF"}},
{"scope": "support.function",
"settings": {"foreground": "#5e5eff"}},
{"scope": "keyword.operator",
"settings": {"foreground": "#FFFFFF"}},
{"scope": "punctuation.separator",
"settings": {"foreground": "#FFFFFF"}},
{"scope": "entity.name.function",
"settings": {"foreground": "#5E5EFF",}},
{"scope": "entity.name.function-call",
"settings": {"foreground": "#FFFFFF",}},
]
},
"workbench.colorCustomizations": {
"editor.selectionBackground": "#7E7E7E",
"editor.background": "#002240",
"editorBracketHighlight.foreground1": "#FFFFFF",
"editorBracketHighlight.foreground2": "#FFFFFF",
"editorBracketHighlight.foreground3": "#FFFFFF",
},
"workbench.colorTheme": "Abyss",
1条答案
按热度按时间kb5ga3dv1#
将Seting中的
"scope": "entity.name.function-call"
替换为scope": "entity.name.function.member"
,以实现您想要的效果。entity.name.function-call
后面。*