I am setting up fonts ligatures for my VSCode using these two lines.
"editor.fontFamily": "'Fira Code'",
"editor.fontLigatures": true,
But it still looks the same as before.
I have tried to disable all of my installed extensions but it didn't work.
Here is my full settings:
{
"workbench.iconTheme": "material-icon-theme",
"workbench.colorTheme": "Material Theme Darker High Contrast",
"editor.formatOnSave": true,
"explorer.confirmDelete": false,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"window.zoomLevel": 0,
"editor.fontSize": 16, //!=
"editor.fontFamily": "'Fira Code'",
"editor.fontLigatures": true,
"explorer.confirmDragAndDrop": false
}
I want fully functional font ligatures as on this page: How i want it to look. Instead I am getting basic text with some font.
Setup Visual Studio Code To setup Cascadia Code in Visual Studio Code, open the menu from File -> Preferences -> Text Editors -> Font and in the textbox write "Cascadia Code" before the other fonts. You have to enable the checkbox to enabling the Font Ligatures (see the picture above).
If in Windows… In Word 2010 or newer for Windows, press Control-D to open the Font dialog box, and select the Advanced tab. Check the option to “Use Contextual Alternates,” then set Ligatures to “All,” and click OK.
Head over to Window > Type > Glyphs to open the Glyphs panel. To activate or deactivate ligatures, open the Character panel by going to Window > Type > Character. Click on the top right corner menu and select Ligatures to activate or deactivate them.
Step #1: Install Fira Code.
Step #2: Set the font in VSCode settings:
"editor.fontFamily": "Fira Code, Menlo, Monaco, 'Courier New', monospace",
"editor.fontLigatures": true,
Step #3: Restart/reload VSCode.
That's about it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With