Reputation: 1
I have a problem with VSCode. I don't like that font VSCode is using for system, I don't know how to change VSCode sans-serif(system) font. I tried toggle developer tools, but you know it refreshes all stylesheets when you close/open it. Any solutions?
Upvotes: 0
Views: 18901
Reputation: 990
To change your Visual Studio Code Font:
Navigate
File -> Preferences -> Settings -> Commonly Used
Scroll down to and find Editor: Font Family
The default value should be "Consolas, 'Courier New', monospace" change this with your desired font.
This should automatically change your font in Visual Studio Code
Upvotes: 2
Reputation: 69
.windows
solo class. Ignore entries with multiple classes.font-family
to set the font you want to use.
.windows
class. Make sure to edit the one with the font-family
property. Ignore the --monaco-monospace-font
property.Example:
// Original
.windows{font-family:Segoe WPC,Segoe UI,sans-serif;}
// Modified
.windows{font-family:Comic Sans MS,serif;}
Source: https://dev.to/kunaltanwar/how-to-change-vs-code-ui-font-in-windows-56mj
Note: You may need to do this every time VS Code updates since it will be flagged as corrupted. https://code.visualstudio.com/docs/supporting/faq#_installation-appears-to-be-corrupt-unsupported
EDIT: Clarification on which property to target since there are multiple .windows
classes.
Upvotes: 1