Microsoft VS2022 Cascadia Code font

Karen Payne - May 26 - - Dev Community

Introduction

Microsoft Visual Studio besides being a great IDE provides the ability to customize the working environment. Most developers tend to stop customizing at the theme, dark, light or a third party theme along with font size.

Here, learn how to change the font which for equality operators and lambda operators can be easier to understand for both developers and those performing code reviews.

More accessibility and flexibility in editor fonts

In Visual Studio 2022 Cascadia Code and introduced Cascadia Mono as a default font. Cascadia is a new, modern, monospaced font family that provides better flexibility for command-line applications and text editor experiences. Cascadia Mono, which you may recognize from the new Terminal, was designed for optimal legibility and accessibility. Cascadia Code is also included in 2022 as an option for developers who use programming “ligatures” – glyphs automatically created by combining characters that many developers find more readable.

The cool font gives us the following.

Example code showing off using Cascadia Code font

Steps to change to Cascadia Code font

From Visual Studio menu, select Tools, Options. Next select Fonts and colors.

Text Editor is selected. Select the dropdown and pick one of the Cascadia Code fonts followed by clicking Ok button to try out the font.

Displays the options dialog open to fonts and colors

Note
Cascadia Mono, which is the same as Cascadia Code but without ligatures

Microsoft Visual Code

To match VS Code font with Visual Studio.

Press CTRL + , to access the settings window followed by typing font in the search input.

Next enter 'Cascadia Code', Consolas, 'Courier New', monospace for font family.

vs code font settings

Summary

Steps have been provided to have a fresh appearance for both Visual Studio 2022+ and Visual Studio Code.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .