Skip to content

VS Code Instructions

Slaviusz edited this page Sep 16, 2018 · 33 revisions

Add "editor.fontLigatures": true to settings.json:

To open settings.json, from the File menu choose Preferences, Settings or use keyboard shortcut Ctrl+, (Cmd+, on Mac). Then paste the following lines and save the file.

"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,

If this doesn't work for you, you can try:

  1. restarting VS Code;
  2. wrapping the "Fira Code" section with additional apostrophes:
    "editor.fontFamily": "'Fira Code'",
    "editor.fontLigatures": true,

Font weights

To achieve different weights add one of the following (verified on Mac):

    "editor.fontWeight": "300" // Light
    "editor.fontWeight": "400" // Regular
    "editor.fontWeight": "500" // Medium
    "editor.fontWeight": "600" // Retina, Bold font must not be installed!
    "editor.fontWeight": "600" // Bold