1
1
mirror of https://github.com/tonsky/FiraCode.git synced 2024-07-04 16:06:26 +03:00

Updated VS Code Instructions (markdown)

Mark Fowler 2018-09-26 12:55:17 -04:00
parent 80f1e60683
commit b6b3b4833a

@ -1,10 +1,14 @@
Add `"editor.fontLigatures": true` to `settings.json`:
## Using the Settings Editor
![](https://code.visualstudio.com/images/January_editor-ligatures.png)
To open the settings editor, first from the `File` menu choose `Preferences`, `Settings` or use keyboard shortcut <kbd>Ctrl</kbd>+<kbd>,</kbd> (<kbd>Cmd</kbd>+<kbd>,</kbd> on Mac).
To enable FiraCode in the settings editor expand the "Text Editor" settings under "Commonly Used" and then click on "Font". In the "Font Family" input box type `FiraCode`, replacing any content. Tick the radio box "Enabled/Disables font ligatures" under "Font Ligatures" to enable the special ligatures.
## Manually Editing settings.json
To open `settings.json`, from the `File` menu choose `Preferences`, `Settings` or use keyboard shortcut <kbd>Ctrl</kbd>+<kbd>,</kbd> (<kbd>Cmd</kbd>+<kbd>,</kbd> on Mac). Then paste the following lines and save the file.
Visual Code allows you to also edit the underlying `settings.json` config file. First open the settings editor as described above, then click the "three dots" icon to to the right and select "Open settings.json" from the popup menu.
Then paste the following lines and save the file.
```json
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,