VSCode颜色主题定制golang方法参数



我试图找到一种方法来颜色'foo', 'a'和'b'在VSCode(语言:golang):

func (foo *Foobar) Subscribe(a string, b int) {
logger.Log(a)
logger.Log(b)
}

我怎样才能做到这一点?我试过编辑设置。Json并添加了这个:

[...]
"workbench.colorTheme": "Slack Theme Dark Mode",
"editor.tokenColorCustomizations": {
"[Slack Theme Dark Mode]": {
"textMateRules": [
{
"scope": "variable.parameter.function",
"settings": {
"foreground": "#e21313"
}
}
]
},        
}

参数没有选择我设置的颜色。

不幸的是,它不支持,你所能做的就是突出显示source.go

最新更新