字体配置
在设置中搜索'font',在'Editor: Font family'中修改,
如下是Ubuntu下VSCode默认字体设置
'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'
在最前面添加'Courier New'
即可。
settings.json配置文件
{
"editor.fontSize": 18,
"C_Cpp.default.cStandard": "c99",
"editor.tabCompletion": "on",
"editor.renderControlCharacters": true,
"editor.renderWhitespace": "all",
"editor.detectIndentation": false,
"editor.tabSize": 4,
"editor.fontFamily": "'Courier New', 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'"
}
网友评论