Steps for vscode to install font files:
Download-> Install-> Configure vscode->Restart
Let’s follow Let’s take a look at how to install font files in vscode:
Download and install fonts
Download the latest fonts that need to be installed
Unzip the downloaded file , and enter the ttf folder
Select all font files, right-click and select install
Configure font
Open the vscode configuration page and search for font
Modify the content of the editor.fontFamily configuration item to: 'Fira Code Retina', 'Microsoft Yahei UI'. Since the Fira Code font does not support Chinese, here configure Microsoft Yahei as the second font
Check the editor.fontLigatures configuration, enable hyphens
Return to the vscode editor, enter @, r, & Character verification font is valid.
During the process of configuring Fira Code font, if it prompts that the font cannot be recognized, try to configure and restart vscode
Recommended related articles and tutorials: vscode tutorial
The above is the detailed content of How to install font files in vscode. For more information, please follow other related articles on the PHP Chinese website!