VSCode 在部分 Linux 设备上终端和文本编辑器显示文本不正常的解决方法
2023年9月16日约 226 字小于 1 分钟
部分 Linux 设备上运行 VSCode 时,发现文本编辑器的缩放不明显,终端字体间距过大等。

这里以 Kali Linux 为例,其他 Linux 发行版请选择对应的系统内置的等宽字体
我们依次打开 设置 -> 外观 -> 字体

这里我们可以发现,Kali Linux 默认等宽字体系列是'Fira Code'
,后续我们需要在 VSCode 内将字体改为'Fira Code'
打开 VSCode,打开设置,搜索font
关键字。

将 Terminal: Font Family
留空,将Editor: Font Family
改为对应的等宽字体。
再次使用就可以发现,终端和文本编辑器的字体已经恢复正常了。