The method of installing font file in vscode
Editor to share with you the method of installing font files in vscode. I hope you will get something after reading this article. Let's discuss it together.
To install a font file in vscode:
Download-> install-> configure vscode-> restart
Let's take a look at how vscode installs font files:
Download and install fonts
Download the latest fonts to be installed
Extract the download file and enter the ttf folder
Select all font files, right-click and select install
Configure fonts
Open the configuration page of vscode and search for font
Modify the editor.fontFamily configuration item as follows: 'Fira Code Retina',' Microsoft Yahei UI'. Since Fira Code fonts do not support Chinese, Microsoft Yahei is configured as the second font here.
Check the editor.fontLigatures configuration to enable hyphens
Go back to the vscode editor and enter the @, rdepartment & character to verify that the font is valid.
If you are prompted that the font is not recognized in the process of configuring Fira Code fonts, restart vscode after trying to configure it.
After reading this article, I believe you have a certain understanding of "how to install font files in vscode". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for your reading!