FiraCode icon indicating copy to clipboard operation
FiraCode copied to clipboard

Font ligatures not rendering in VSCode

Open aswsub opened this issue 5 years ago • 4 comments

Even though I set the font ligature option to true, the font does not render the character I want it to. I have meticulously followed the instructions on installing the font I need. It would awesome to have help on why the ligatures are not rendering. I am coding in python.

image

The arrows point to where I have written something that should become a ligature but is acting weird and remains as the normal font, and I don't know why this is happening. Any help would be greatly appreciated

aswsub avatar Apr 30 '21 07:04 aswsub

Have you tried other fonts?

could you, please, copy you config json and post it here as a text.

alexeyten avatar Apr 30 '21 07:04 alexeyten

@absozero what happens if you change file syntax to plaintext? Or comment out a line and see if ligatures will be applied inside comment?

tonsky avatar Apr 30 '21 16:04 tonsky

Thanks for the help here, and thanks for the fast response. I enabled in both of the settings jsons of the User setting and the Workspace setting, and then it worked. Again, thank you. By the way, this is a beautiful font that I love using over the default vs code config and its curvature is awesome, making it look nice and easy to read at the same time. The ligatures are great, too! That is the reason why I chose and will now on be using this font over jet brains mono and the default vs code font.

aswsub avatar May 02 '21 06:05 aswsub

settings.json

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

damienmillet avatar Jul 06 '21 13:07 damienmillet