Vscode: Use 'JetBrains Mono' as standard font.

Created on 19 Jan 2020  ·  8Comments  ·  Source: microsoft/vscode

How about using the font from JetBrains (JetBrains Mono) as the standard font?

The font was specially made for coding and will be used in every JetBrains IDE from now on (IntelliJ IDEA, etc.) The font has a full set of features, which are meant to improve the coding experience.
image
image

I think it's way better to read, and the ligatures are very useful to me (ligatures are disabled in VSCode by default tho).

For example:
image

I could explain all the features of the font, but that would take too long.
I would suggest checking out: https://www.jetbrains.com/lp/mono/#key-features

It's also free to use:

JetBrains Mono typeface is available under the Apache 2.0 license and can be used free of charge, for both commercial and non-commercial purposes. You do not need to give credit to JetBrains, although we will appreciate it very much if you do.

Obviously this is just my opinion, but I feel like this font fit's very well into VSCode as it provides a better coding experience (to me).

Feel free to drop your thoughts about this :)

Most helpful comment

This is my solution

Settings -> Search for font

image
image
image

All 8 comments

There are a lot of very good monospace fonts, some of which are open source. At this time, VS Code does not ship any font for text rendering and simply uses what is installed on the machine. We do so for multiple reasons: to respect the platform defaults, to not over inflate the download size, the avoid licensing issues, etc.

You can write a VS Code extension which ships this specific font with its resources and which uses OS commands to install it, and then change the default of VS Code.

Is anyone writing this extension? It'd be awesome to have.

No need for a extension. The font is open source and free to use everywhere. Just install it on your system and change the settings in VSCode to use the new font.
You can download it from their page: https://www.jetbrains.com/lp/mono/

And enable ligatures to use a lot of the font's features:
Instructions ( for another font but process is the same ):
https://github.com/tonsky/FiraCode/wiki/VS-Code-Instructions#manually-editing-settingsjson

Can I know how to write the font name properly?
in my settings.json file written as follows:-

"editor.fontFamily": "'JetBrains Mono Regular' , 'Fira Code'",

is it right? how can i change the font properly?

This is my solution

Settings -> Search for font

image
image
image

@MuhammadimYusoff This works for me:

"editor.fontFamily": "'JetBrains Mono'"

This is my solution

Settings -> Search for font

image
image
image

Okay Thank you very much. ✌️

I suppose to use ‘FiraCode’ on my editor and ‘Consolas’ for my terminal (because same font made me confuse between codes and errors).

Was this page helpful?
0 / 5 - 0 ratings