VSCode solves the problem of abnormal text display in terminals and text editors on some Linux devices

When running VSCode on some Linux devices, it is found that the scaling of the text editor is not obvious and the terminal font spacing is too large.

Here we take Kali Linux as an example. For other Linux distributions, please choose the corresponding system built-in fixed-width font.

We open Settings->Appearance->Fonts in sequence

Here we can find that the default fixed-width font series of Kali Linux is 'Fira Code'. Later we need to change the font in VSCode to'Fira Code'


Open VSCode, open settings, and search for fontkeywords.

If Terminal: Font Familyleft blank, it will Editor: Font Familybe changed to the corresponding monospaced font.
Screenshot_2023-09-16-01-41-55-75.png
Screenshot_2023-09-16-01-41-30-95.png

If you use it again, you will find that the fonts in the terminal and text editor have returned to normal.

Guess you like

Origin blog.csdn.net/a18845594188/article/details/133485271