VS Code Instructions

Slaviusz edited this page Sep 16, 2018 · 12 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
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.