terminal - 将 vs code 终端字体更改为非等宽字体

标签 terminal visual-studio-code vscode-settings

是否可以将 vs code 终端字体更改为非等宽字体?

我尝试使用的字体是 Melso LG L Regular for Powerline

当我尝试在用户设置中更改 terminal.integrated.fontFamily 时,我得到了这个:

terminal font

有什么办法解决这个问题吗?

提前致谢😃

最佳答案

使用以下设置。它在 ubuntu 的 VScode 终端中对我有用。

{
    //"terminal.integrated.fontFamily": "'Ubuntu Mono derivative Powerline', 'fontawesome'",
    "terminal.integrated.fontFamily": "'Meslo LG M DZ for Powerline', 'fontawesome'",
    "terminal.integrated.fontSize": 16

}

请确保您已正确安装 powerlinefontawesome 图标包,否则可能无法正常工作。

使用上述任何设置,但确保安装了 powerline 变体。下面是我从 VSCode 终端输出的终端。

enter image description here

我的 Vscode 版本:

enter image description here

关于terminal - 将 vs code 终端字体更改为非等宽字体,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50992108/

相关文章:

linux - 在 debian 系统启动时运行可执行文件

visual-studio-code - 在 vscode 调试器中禁用自动完成

python - 如何修复 vscode 中的 'jupyter notebook server failed to launch in time'?

linux - 将毫秒添加到时间戳(bash,unix)

iphone - 如何在 Xcode (iPhone) 上为用 C 编写的控制台应用程序制作 GUI。

visual-studio-code - Visual Studio Code - 在资源管理器 View 中展平包

ssh - VS 代码无法 ssh 到服务器 : failed to create hard link

visual-studio-code - 即使侧边栏打开,有没有办法让 VSCode 中的终端占据应用程序的整个宽度?

java - 错误找不到或加载主类

java - 无法解析类型 java.lang.Object。它是从所需的 .class 文件中间接引用的