重新启动PC后,为什么VS Code中的Fira Code丢失了? [英] Why Fira Code in VS Code lost after restart PC?

查看:139
本文介绍了重新启动PC后,为什么VS Code中的Fira Code丢失了?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I want to use Fira Code in VS Code to enable the Font Ligatures. This is my settings in settings.json. Note that I already installed Fira Code in C:\Windows\Font

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

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

My VS Code change the font to Fira Code and I can use Font Ligatures. However, after every time I restart my laptop, then the Fira Code in VS Code is gone. I need to copy Fira Code font to C:\Windows\Font to enable Fira Code again in VS Code.

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

Is there anyone have this issue? How to fix it? Thanks.

推荐答案

存在相同的问题,并且解决方案对我有用.

Had the same problem and this solution worked for me.

  • 确保取消阻止其属性中的所有字体文件(如此处所示)
  • 通过单击为所有用户安装选项而不是 Install
  • 安装Fira Code字体(如
  • Make sure to unblock all the font files in their properties (as shown here)
  • Install Fira Code fonts by clicking on Install for all users option instead of Install (as shown here).

这篇关于重新启动PC后,为什么VS Code中的Fira Code丢失了?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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