Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Strange inequality character Visual Studio

How can I change this character to this != in Visual Studio for C#? Does someone know how to do it? Thanks a lot beforehand.

enter image description here

Sorry if it’s not a properly question but I’ve not found any answer on the internet about how to do it.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Microsoft has developed a new font for developers called Cascadia Code and it has a number of features that replace multi-character language constructs to a visual representation called Ligatures. There are other "developer fonts" with similar features.

Cascadia Code:

cascadia code

If you don’t like these, you can switch back to Cascadia Mono (or another mono-spaced font without ligature support):

Cascadia Mono

enter image description here

In Visual Studio Code there is a configuration setting to disable ligatures:

"editor.fontLigatures": false

Unfortunately, Visual Studio 2022 and below do not have an option to configure whether (or which) ligatures are enabled.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading