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

Some small corrections on the VSCode page

giliam 2019-10-18 14:43:05 +02:00
parent 0d28482557
commit fcfdb74031

@ -1,4 +1,4 @@
## Installing
## Requirements
Make sure you [install the font](https://github.com/tonsky/FiraCode/wiki/Installing).
@ -6,11 +6,11 @@ Make sure you [install the font](https://github.com/tonsky/FiraCode/wiki/Install
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, under "Commonly Used", expand the "Text Editor" settings and then click on "Font". In the "Font Family" input box type `Fira Code`, replacing any content. Tick the check box "Enabled/Disables font ligatures" under "Font Ligatures" to enable the special ligatures.
To enable FiraCode in the settings editor, under "Commonly Used", expand the "Text Editor" settings and then click on "Font". In the "Font Family" input box type `Fira Code`, replacing any content. Tick the check box "Enables/Disables font ligatures" under "Font Ligatures" to enable the special ligatures.
## Manually Editing settings.json
## Manually editing settings.json
Visual Studio Code allows you to also edit the underlying `settings.json` config file. First open the settings editor as described above, then click the "curly brackets" icon to open "settings.json".
Visual Studio Code allows you to also edit the underlying `settings.json` config file. First open the settings editor as described above, then click the "curly brackets" icon to open the "settings.json" file.
Then paste the following lines and save the file.
```json
@ -34,7 +34,7 @@ To achieve different weights add one of the following (verified on Mac):
"editor.fontWeight": "600" // Bold
```
To use Retina weight, change Font name to `FiraCode-Retina` (if macOS, exactly that, no spaces):
To use Retina weight, change Font name to `FiraCode-Retina` if macOS (exactly that, no spaces):
```json
"editor.fontFamily": "FiraCode-Retina",
```