Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I change VS Code Settings to use JetBrains Mono Font

I've downloaded and installed the JetBrains Mono font https://www.jetbrains.com/lp/mono/

I'm trying to set VS Code to use it.

I've added the following lines to my settings.json file:

    // Set the font     "editor.fontFamily": "Consolas, 'Courier New', monospace", // Copied from current settings     // Turn on font ligatures     "editor.fontLigatures": true, // Override default value of false 

My question is: what do I need to put in the editor.fontFamily section to get JetBrains to be used?

I've tried "editor.fontFamily": "JetBrains, Consolas, 'Courier New', monospace" without success.

like image 841
Deejers Avatar asked Jan 16 '20 19:01

Deejers


People also ask

How do I change the font in Visual Studio?

On the menu bar, choose Tools > Options. In the options list, choose Environment > Fonts and Colors. In Show settings for list, select Text Editor. Modify the Font and Size options to change the font and text size for the editor.

What is Vscode default font?

By default, the font used for coding in VS Code is Consolas.


1 Answers

Open the VSCode Settings (Code -> Preferences -> Settings), then add to the end of the User Settings JSON file:

  "editor.fontFamily": "JetBrains Mono",   "editor.fontSize": 13,   "editor.fontLigatures": true 
like image 61
user12292652 Avatar answered Sep 21 '22 08:09

user12292652