安装zsh并更改字体样式后,我在VSCode中的终端字体很小吗? [英] My terminal in VSCode has a tiny font after installing zsh and changing font style?

查看:461
本文介绍了安装zsh并更改字体样式后,我在VSCode中的终端字体很小吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果您查看vscode终端-它太小了.这是我为创建此结果而修改的用户设置.我已经搜索了如何在vscode中更改终端字体,但是我已经按照与以下内容有关的所有说明进行了操作: terminal.integrated.fontSize,这完全没有帮助-它只会延长行.请告知-预先感谢.

If you look at the vscode terminal - its too tiny. Heres the user settings that I have modified to create this result. I have searched how to change terminal fonts at vscode but I have followed all instructions pertaining to terminal.integrated.fontSize and this doesnt help at all - it only lengthens the line. Please advise - thanks in advance.

推荐答案

我肯定对此有一些答案.但是要解决我的问题,我必须更改terminal.integraded.fontFamily.尝试这些主题摩纳哥".将此行添加到您的设置.

Im sure there are a few answers to this. But to solve mine, I had to change the terminal.integraded.fontFamily. Try these theme "Monaco" for instance. Add this line to your settings.

"terminal.integrated.fontFamily": "Monaco"

如果字体大小不变,仅增加了字母间距,请尝试一些检查:

If the font size does not change and only increases the letter spacing, try a few checks:

  1. 保存设置并关闭vscode编辑器,然后重新打开一个新的.
  2. 尝试重新启动vscode.
  3. 您选择的字体家族主题在其主题方面起着重要作用 它呈现.
  4. 选中您可以测试的字体家族主题.
  1. Save the settings and close the vscode editor and re-open a new one.
  2. Try restarting the vscode.
  3. The Font family theme that you select play a huge role in a how it it renders.
  4. Check this font family themes that you can test.

关于CLI和编辑器的基本外观,这是我当前的设置:

This is my current setting as far as basic visuals for CLI and the editor:

    

    "explorer.confirmDelete": false,
    "workbench.sideBar.location": "left",
    "workbench.statusBar.visible": true,
    "editor.fontFamily": "Monaco",
    "editor.fontSize": 12,
    "terminal.integrated.fontFamily": "Hack",
    "terminal.integrated.fontSize": 10,
    "terminal.integrated.lineHeight":1,
    "editor.tabSize": 2,

同样,这些是您可以做的检查.我希望这可以帮助我将上面的可视代码终端的视图更改为现在的下面的视图:

Again, these are checks you can do. I hope this helps cause it definitely took me a while to change my view of visual code terminal above to the one I have below now:

修复了项目#4中链接的错字

edit: fixed typo in link in item #4

这篇关于安装zsh并更改字体样式后,我在VSCode中的终端字体很小吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆