如何在 VS Code 中更改逗号和括号颜色

如何在 VS Code 中更改逗号和括号颜色

问题描述:

听起来有点蠢,但我不知道如何定位这种类型的文本.在 VS Code 1.5 中更改逗号、引号、括号等颜色的命令是什么?

Sounds kinda of dumb, but I can't figure out how to target this type of text. What is the command to change the color of commas, quotes, brackets, etc in VS Code 1.5?

非常感谢

settings.json Ctrl+,

"editor.tokenColorCustomizations": {
    "textMateRules": [{
        "scope": "punctuation",
        "settings": {
            "foreground": "#ffffff"
        }
    }]
}

https://code.visualstudio.com/docs/extensions/themes-snippets-colorizers#_textmate-theme-rules

https://www.sublimetext.com/docs/3/scope_naming.html