Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of changing Font by vscode

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

Know how vscode changes fonts? This problem may be often seen in our daily study or work. I hope you can gain a lot from this question. The following is the reference content that the editor brings to you, let's take a look at it!

How does vscode change fonts?

The default font of vscode doesn't look good. If you want to change the font, introduce how to change the font:

First, open the settings page and search for font, as shown in the figure:

The following properties in the settings are related to fonts:

/ / controls the font family. "editor.fontFamily": "Consolas, 'Courier New', monospace", / / enables font hyphenation "editor.fontLigatures": false, / / controls font size in pixels. "editor.fontSize": 14, / / controls font weight. "editor.fontWeight": "normal"

Then, add the corresponding settings to the user settings on the right (remember to add a comma separation before adding):

"editor.fontFamily": "Fira Code", / / write the font type to be set in quotation marks. I prefer Fira Code "editor.fontLigatures": true,// controls whether font hyphenation is enabled, true is enabled, and false is not enabled. Here we choose to enable "editor.fontSize": 14Grampash / set font size. "font": "normal", / / this setting font size Optional normal,bold, 100,900,etc. Just choose the right one.

Then save the font, and the font is applied successfully.

PS: if you want to change a font, at least you have to install it on your computer, otherwise it's useless to set it up.

Attach the installation of Fira Code fonts:

Download fonts in https://github.com/tonsky/FiraCode, turn down the page in readmine.md, and you will see the download link (figure below)

Click to download the font installation package, which is a zip package. After compression, you will find the ttf folder and you will see several ttf files.

Select all, right-click to install it, in the windows control panel, the font can be seen in the font, the installation is complete.

View the font of windows: go to the control panel, change the view mode to a large icon, and click the font.

Thank you for reading! After reading the above, do you have a general understanding of vscode's method of changing fonts? I hope the content of the article will be helpful to all of you. If you want to know more about the relevant articles, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report