Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to change the default font of VS Code editor to source code pro font?

The default fonts of VS Code editor are: Monaco Menlo Consolas "Droid Sans Mono" "Inconsolata" "Courier New" monospace.

But I want to add source code pro font. I tried

{"editor.fontFamily": "SourceCodePro-Regular"}

I have that font in my "fonts" "(Windows).

like image 388
Abhishek Gautam Avatar asked Dec 01 '22 10:12

Abhishek Gautam


1 Answers

Install all Fonts from this ZIP. Try this in user settings JSON file

{
    "editor.fontFamily": "Source Code Pro"
}

Save it then Restart VS Code.

like image 60
mav-raj Avatar answered Dec 04 '22 10:12

mav-raj