Linux下配置vscode终端字体:
在Ubuntu 18.04.1LTS 下的解决方案(亲测可用),其他版本linux做参考。
下载安装字体
$cd /usr/share/fonts/truetype/
$sudo git clone https://github.com/abertsch/Menlo-for-Powerline.git
刷新字体
$sudo fc-cache -f -v
回到 Vs Code的用户设置.json 中加入以下代码
"terminal.integrated.fontFamily": "Menlo for Powerline",
效果:
Mac下配置vscode终端字体:
在Mac 10.13.6下的解决方案(亲测可用),其他版本做参考。
下载安装字体
$cd /Library/Fonts
$sudo git clone https://github.com/abertsch/Menlo-for-Powerline.git
在vscode中设置字体:
"terminal.integrated.fontFamily": "Menlo for Powerline"
效果:

本文详细介绍如何在Linux(Ubuntu)及Mac OS下配置Visual Studio Code终端的字体,包括下载并安装特定字体(Menlo for Powerline),以及在VSCode设置中指定此字体的方法。

637

被折叠的 条评论
为什么被折叠?



