visual-studio-codefontsjetbrains-font

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.


Solution

  • 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