Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio a way to show operators as opposed to text Example: ≠ instead of !=

I had to reinstall everything on my computer including Visual Studio, my question is, before I reinstalled Visual Studio was showing the code on my C# programs in a method using Unicode operators for example:

if (1 ≠ 2) {
}       

instead of

if (1 != 2) {
}

However upon reinstalling Visual Studio they've reverted back to the text format, does anyone know what setting I need to enable to get them to show as the Unicode versions?

Any help you could give would be massively appreciated.

like image 333
Daniel_H Avatar asked Oct 31 '17 19:10

Daniel_H


Video Answer


1 Answers

You just need to install a font that includes programming ligatures, and then to tell VS to use that font. I believe Fira Code is currently the most complete programming font.

like image 107
Kevin Avatar answered Sep 28 '22 09:09

Kevin