Reset to default
Trending sort is based off of the default sorting method — by highest score — but it boosts votes that have happened recently, helping to surface more up-to-date answers.
It falls back to sorting by highest score if no posts are trending.
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
Building on what @Grekkq and @Gyliph provided, this is how my settings look:
// Set the font "editor.fontFamily": "'JetBrains Mono', Consolas, 'Courier New', monospace", // Set the font size "editor.fontSize": 13, // Turn on font ligatures "editor.fontLigatures": true, // Set letter spacing "editor.letterSpacing": 0.4, // Enable smooth scrolling in the editor "editor.smoothScrolling": true,
The trick to adding JetBrains Mono to the current list of font families was to wrap
'JetBrains Mono' in single quotes (since there is a space in the font name).
Just this will be enough
"editor.fontFamily": "JetBrains Mono"
And if u want ligatures as well
The easiest way is: open settings Ctrl+, choice Text Editor -> Font, and add this ‘JetBrains Mono’ to the font family. Also from there you can change font weight and size, then restart your VS Code to see the change
Or in settings.json file, press ctrl+shift+p search for seetings.josn, and then add those lines.
"editor.fontFamily": "JetBrains Mono", // Font Family "editor.fontSize": 11.3, // Font Size "editor.fontWeight": "bold", // Font Weight "editor.fontLigatures": true, // Font ligatures
I struggled to change fonts in VS Code, but now it’s working every time I want to change it. In order to change the font, please follow these instructions:
- Download the font
- Click on the ttl file you just downloaded and click on install
- CLOSE VS CODE AND RE OPEN IT.
- Go into VS Code and change the font you want; e.g., JetBrains Mono
The trick is to CLOSE & RE OPEN VS CODE
#THANKS TO PINAKI FOR THE SOLUTION
First, you will enter your preferences -> settings -> Text Editor -> Font
And then you can click and edit your settings.json there
Then, you can edit your settings there, like you can see below. Here is what my font settings looks like (including a visual demo of JetBrains in it!):
For people trying to follow along and are noob like me: YOU NEED TO DOWNLOAD THE FONT FIRST!
Then unpack, select all of them, right-click any of them and choose INSTALL.
In VS Code settings.json (search for font in settings and you will see this) write:
"editor.fontFamily": "JetBrains Mono", <– Don’t forget this comma
You maybe notice that the default weight isn’t right, so to change to be the same in e.g. PyCharm:
I got this from going to user installed fonts -> the info tab on the top -> PostScript name