VSCode 修改字体为JetBrains Mono(Java的代码样式)
我的预设:
"workbench.colorTheme":"Darcula",
"workbench.colorCustomizations": { "editor.background": "#2b2b2b"},
"editor.fontFamily": "JetBrains Mono, Consolas, 'Courier New', monospace",
"editor.lineHeight": 1.6,
"editor.semanticTokenColorCustomizations": {
"enabled": true, // enable for all themes
"rules": {
"function": { //函数
"foreground": "#8187b3",
"fontStyle": "bold"
},
"class": { //类
"foreground": "#5b8ac3",
"fontStyle": "bold"
},
}
},
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "source",
"settings": {
"foreground": "#a7a7a7"
}
}
]
}