Disable ligatures in Visual Studio - 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 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.

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'

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.

Related

How to use JetbrainsMono font in Microsoft Visual Studio 2019

is there any way I can install Jetbrains Monospace font in Microsoft Visual Studio 2019?
Because Visual studio doesn't show the font in the list if available fonts and it doesn't offer an option to browse for/install it.
Go to Tools -> Options
Environment group, Fonts and Colors item allows you to specify custom font for any of the display items.
I believe all of them are monospace.
For Visual Studio to offer you a font, it must be installed on your windows system. You can install the font through the Windows Settings screen. You can find the option to install fonts in the Personalisation section.
After installing the font in Windows, Visual studio should allow you to select it as your editor font.
See also:
https://www.tomshardware.com/how-to/install-fonts-on-windows-11
Step 1
Download the font from the JetBrains font website and install it on your system like you would any other font.
Step 2
In VS Code type, Shift + Cmd + P -- start typing settings.json and then hit enter when Preferences: Open Settings (JSON) populates.
Once inside settings.json, add the following lines to the end of your file, before the closing bracket:
{
// ... older settings above this line ...
"editor.fontFamily": "'JetBrains Mono', Menlo, Monaco, 'Courier New', monospace",
"editor.fontSize": 13,
"editor.fontLigatures": true,
}
Save the file and restart your editor. This will set the default font (and give a few backups), along with a few preferred settings I've seen for JetBrains (turn on the cool ligatures and set the font size).
Feel free to play with these as well for something more custom tailored.

Set Visual Studio font size for "Error List" tool window only?

In Visual Studio 2017, is it possible to change the UI font size for the IDE Error List tool window only, i.e., without affecting any other settings?
Having said this, I can't even find any setting in Tools > Options > Environment > Fonts and Colors that affects the Error List at all, even after restarting Visual Studio as suggested.
It is done by changing the Environment Font. It changes the menu font too.
Tools->Options->Fonts and Colors->Environment
I have the same issue and couldn't resolve in Visual Studio (the font size updates in other areas of VS, but the error list stays the same).
I only needed a bigger font for a presentation so used the magnifier tool in Windows. Not something you want to use all the time, but great for a short-term need
Unfortunately, Visual Studio (2022 and most likely older) does not allow to change the font of the error list independently from the rest of the environment.
Somebody asked for the default font of the environment. The default font is "Segoe UI" with font size 9.

Visual Studio 2015, installed font is not applied

I installed (as MS recommend) a font and tried to assign it into 'Options/Environment/Fonts and Colors' but doesn't work.
Lucida Console font applied:
InputMonoCondensed font applied:
Restarted Visual Studio and my computer without success, what could be wrong?
Notes:
OS: Windows 10 Pro
VS: Community 2015 v14 Update 3
.NET Framework: v4.6
All were installed and updated into a new computer.
This is actually a known issue documented on Input download website http://input.fontbureau.com/workarounds/
Here is the relevant part:
In certain configurations of Visual Studio (2010–2013), the default Input installation will not display at all, and instead you’ll see Courier. A workaround is to customize and download a four-style family (which will appear in your font menu as “Input”), rather than selecting from the whole family. Some users reported that they had to reboot their system for the change to take effect.
Solution is mentioned, on the download page http://input.fontbureau.com/download/ chose "Customize your download" option and select "Download a custom four-style family", based on InputMonoCondensed.
Install this font after downloading, and select the font named Input (just Input, not InputMono or InputMonoCondensed for instance) into Visual Studio options:
That's it!
Now you can edit using Input font, that's actually what I personally use.

add new font to visual studio 2010

I am trying to add this font http://levien.com/type/myfonts/inconsolata.html to my visual studio. i have downloaded it and added it to the Windows/fonts directory. restarted the computer and yet i still cant find it on the fonts and colors settings.
Any solution ?
GDI+ doesn't play nicely with OpenType fonts, you will need to find a TTF version, how about this one: http://code.google.com/p/googlefontdirectory/source/browse/inconsolata/?r=fffda675769720a297f4d239e7065f751bbe655f

Change font-smoothing in VS 2010

Is there any way to make font smoothing more MacOS like in Visual Studio 2010? I used to do that with GDI++ in VS 2008, but obviously that won't work in new Visual Studio. Is it possible to tweak WPF font-smoothing manually?
If anyone doesn't know about GDI++ you can get it here. It is highly configurable, but the basic settings make fonts look like they do on MacOS, which is much better when you have white text on dark background.
Here's a link on some options to try:
Turning off ClearType, Adjust font smoothing on OS level, change the environment font in VS. Consolas font was an option they recommended in beta.
Here's a blog post on improving WPF font clarity.
There's a Visual Studio extension called Text Sharp that lets you change the font smoothing settings.

Resources