简体   繁体   中英

Disable ligatures in Visual Studio

I found this question that is about enabling ligatures in Visual Studio, which appears to be automatic.

However, I don't like ligatures, so I was wondering if it is possible to disable them. I can't find anything in VS2017 or VS2019.

I ran into that issue in VS2022 aswell when tried to install Jetbrains Mono font. But it occured that jetbrains provides same font without ligatures, it's name is followed by 'NL'

I also want to disable font ligatures in VS2017 today, then I found this link in MSDN community site. They say:

Currently, Visual Studio doesn't have the ability to disable font ligatures in the editor, so the only option you currently have available is to chose a font that doesn't provide ligatures.

I think they are foolish about this.

Some time ago Microsoft created "Cascadia Mono" font, which is the same font as default in Visual Studio, but without ligatures.

You can download "Cascadia Mono" font from here: https://github.com/microsoft/cascadia-code/releases

Install this font on your machine, restart Visual Studio, select "Cascadia Mono" font, and you will achieve the same result as "disabling" ligatures in VS.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM