更改meta.function-call Visual Studio代码的字体颜色

Nes*_*olt 1 python visual-studio-code

我正在尝试配置点“.”之后的字体颜色。当在父类路径“meta.function-call”之后调用方法时:

import os

os.path()
Run Code Online (Sandbox Code Playgroud)

在本例中为path,但我想为其他所有内容自定义它,就像其他文本编辑器一样,例如sublimeText。在网上找不到任何相关内容

Kri*_*ord 7

下面是一个为函数名称和括号着色的示例(可以省略主题名称级别以应用于所有主题):

"editor.tokenColorCustomizations": {
    "[Atom One Light]": {
        "textMateRules": [
            {
                "scope": [
                    "meta.function-call.generic.python",
                    "punctuation.definition.arguments.begin.python",
                    "punctuation.definition.arguments.end.python"
                ], /*functions()*/
                "settings": {
                    "foreground": "#0184BC"
                }
            }
        ]
    }
Run Code Online (Sandbox Code Playgroud)

您可以使用开发人员:检查编辑器令牌和范围(在运行命令菜单中输入)来识别每个单独的令牌:

在此输入图像描述