Adam Heeg
Adam Heeg

Reputation: 1714

How to enable ligatures in FiraCode for Visual Studio 2015

I downloaded the FiraCode font's and have selected that as my font in Visual Studio. However the ligatures are not showing and the wiki doesn't have any special instruction for visual studio, although they imply it works because it is listed in their WORKS column for editor support.

https://github.com/tonsky/FiraCode/

Anyone have the missing step(s) to display the ligatures in visual studio 2015?

Upvotes: 37

Views: 27291

Answers (2)

Patrick McElhaney
Patrick McElhaney

Reputation: 59331

After installing the font and restarting Visual Studio, it works for the most part. The way that Visual Studio handles tokenization in the syntax highlighting breaks the ligatures containing dashes (such as <!-- -->).

Upvotes: 6

David Rinck
David Rinck

Reputation: 6996

Before it will work you will need to close and restart Visual Studio.

I ran into the same problem and this fixed it (details)

Upvotes: 60

Related Questions