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 font
keywords.
If Terminal: Font Family
left blank, it will Editor: Font Family
be changed to the corresponding monospaced font.
If you use it again, you will find that the fonts in the terminal and text editor have returned to normal.