'How to use JetbrainsMono font in Microsoft Visual Studio 2019

is there any way I can install Jetbrains Monospace font in Microsoft Visual Studio 2019?

Because Visual studio doesn't show the font in the list if available fonts and it doesn't offer an option to browse for/install it.



Solution 1:[1]

Go to Tools -> Options

Environment group, Fonts and Colors item allows you to specify custom font for any of the display items.

I believe all of them are monospace.

Solution 2:[2]

For Visual Studio to offer you a font, it must be installed on your windows system. You can install the font through the Windows Settings screen. You can find the option to install fonts in the Personalisation section.

After installing the font in Windows, Visual studio should allow you to select it as your editor font.

See also:

Solution 3:[3]

Step 1

Download the font from the JetBrains font website and install it on your system like you would any other font.

Step 2

In VS Code type, Shift + Cmd + P -- start typing settings.json and then hit enter when Preferences: Open Settings (JSON) populates.

Once inside settings.json, add the following lines to the end of your file, before the closing bracket:

{ 
  // ... older settings above this line ...
  "editor.fontFamily": "'JetBrains Mono', Menlo, Monaco, 'Courier New', monospace",
  "editor.fontSize": 13,
  "editor.fontLigatures": true,
}

Save the file and restart your editor. This will set the default font (and give a few backups), along with a few preferred settings I've seen for JetBrains (turn on the cool ligatures and set the font size).

Feel free to play with these as well for something more custom tailored.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Vlad Feinstein
Solution 2 jessehouwing
Solution 3 twknab