37

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?

5
  • 7
    Did you close and restart Visual Studio? I ran into the same problem and this fixed it. See: github.com/tonsky/FiraCode/issues/112 Aug 26, 2016 at 16:22
  • 1
    That did the trick - I should have known to try that.
    – Adam Heeg
    Aug 26, 2016 at 16:56
  • 15
    I only get ligatures for the comparison operators, and not for '->'. Why? Sep 26, 2016 at 14:06
  • @drinck please add that as the answer.
    – Scotty.NET
    Oct 11, 2016 at 15:01
  • @Scotty.NET added. Oct 11, 2016 at 16:41

2 Answers 2

59

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

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

1
  • 9
    First rule of troubleshoot, always restart first!
    – envyM6
    Jul 23, 2017 at 11:00
6

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 <!-- -->).

1
  • 1
    I have the same problem with -> operators in C++
    – Groshh
    Sep 19, 2019 at 12:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.