I downloaded & installed Visual Studios 2022. After creating a new project, and playing with the IDE for some time, I noticed that my font size was set to bold everywhere in the editor. Keywords, operators, punctuation, strings, variables, functions, classes, everything! Obviously I tried to change the size of the font, but it always reverts back to being bold.
Did I do something to cause this? How can I change it to not use bold font everywhere?
On the menu bar, choose Tools > Options. In the options list, choose Environment > Fonts and Colors. In Show settings for list, select Text Editor. Modify the Font and Size options to change the font and text size for the editor.
Type the keyboard shortcut: CTRL+B.
The default size used by the Visual Studio font service comes from Windows and appears as 9 pt. You can apply formatting to the environment font.
This is due to the new Visual Studio 2022 font, Cascadia Mono, which is designed to make text easier to read for people with disabilities like Character Dysmorphia or Dyslexia. You can change this back to "Consolas", the VS 2019 font by going to Tools > Options > Environment > Fonts and Colours > "Show settings for: Text Edit" > "Font": Consolas.
The default size used by the Visual Studio font service comes from Windows and appears as 9 pt. You can apply formatting to the environment font. This topic covers how and where to use styles. For implementation information, refer to The environment font. Bold text is used sparingly in Visual Studio and should be reserved for:
Bold text is used sparingly in Visual Studio and should be reserved for: question labels in wizards. designating the active project in Solution Explorer. overridden values in the Properties tool window. certain events in the Visual Basic editor drop-down lists. server-generated content in the document outline for web pages.
Modify the Font and Size options to change the font and text size for the IDE. Select the appropriate item in Display items, and then modify the Item foreground and Item background options. On the menu bar, choose Tools > Options. In the options list, choose Environment > Fonts and Colors. In Show settings for list, select Text Editor.
This is due to Microsoft changing the default font in Visual Studio 2022 from Consolas to Cascadia Code: a font which is designed to make text easier to read for people with disabilities like Character Dysmorphia or Dyslexia. You can change this back to "Consolas", the VS 2019 font by going to
Tools > Options > Environment > Fonts and Colors > "Show settings for: Text Edit" > Font: "Consolas"
I know that this answer isn't as popular as the other answer, but there was more to this problem than just changing the font. Originally, I tried changing the font, and it didn't work. It turned out, I had somehow turned on an option called "Windows High Contrast" which renders the font as an "ANSI Standardized Terminal Emulators" where there is an option of font that is not only more saturated & brighter, but bolder as well. Only then did changing the font back to the Original Microsoft Consoles font provide the experience I had expected.
I later found out about a feature called Power-lines, which is a really awesome looking feature, and provides a great command-line experience. And Cascadia Code
supports Power-lines, Consoles does not.
Also I have to read code in a foreign language occasionally, and Slavic/Asian Languages render very nicely in Cascadia Code. So after over 6 months of grappling with fonts. I found that Cascadia Code actually has a variable font-weight, such that 300 and 400 are valid weights, but so 350, or 565 (too bold).
So for me, what worked, was to change Cascadia Codes weight to 350. Its actually kind of cool to be able to pick a font's boldness using a dynamic weight, rather than being restricted to increments of 100.
350
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With