【问题标题】:Why Fira Code in VS Code lost after restart PC?为什么重启PC后VS Code中的Fira Code会丢失?
【发布时间】:2020-09-07 01:40:37
【问题描述】:

我想在 VS Code 中使用 Fira Code 来启用字体连字。这是我在 settings.json 中的设置。请注意,我已经在 C:\Windows\Font 中安装了 Fira Code

    "editor.formatOnSave": true,
    "editor.fontSize": 14,
    "editor.fontFamily": "Fira Code",
    "editor.fontLigatures": true,

我的 VS Code 将字体更改为 Fira Code,我可以使用 Font Ligatures。但是,每次我重新启动笔记本电脑后,VS Code 中的 Fira Code 就消失了。我需要将 Fira Code 字体复制到 C:\Windows\Font 以在 VS Code 中再次启用 Fira Code。

有人有这个问题吗?如何解决?谢谢。

【问题讨论】:

    标签: visual-studio-code fonts settings


    【解决方案1】:

    遇到了同样的问题,this 解决方案对我有用。

    • 确保在其属性中取消阻止所有字体文件(如图here
    • 通过单击为所有用户安装选项而不是安装选项安装Fira Code字体(如图here)。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-11-17
      • 1970-01-01
      • 2018-01-13
      • 1970-01-01
      • 2019-11-23
      • 2020-01-19
      相关资源
      最近更新 更多