DEV Community

Cover image for Microsoft VS2022 Cascadia Code font
Karen Payne
Karen Payne

Posted on

Microsoft VS2022 Cascadia Code font

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.

Top comments (9)

Collapse
 
matricaldefunkt profile image
Pramit Sharma

I've always used FiraCode, and I'd recommend it till the end of my life, but I agree, cascadia is pretty sweet

One note: To have the => or != become one character, you have to enable font ligatures (basically it's the "combiner" of the font) in vscode (not sure about visual studio)

Also, if you have a zsh shell, it's worth checking out nerd fonts, very very cool stuff

Collapse
 
donangel profile image
Doncho Angelov

I am a MacOS and I can't find the Cascadia Code font. I like what I saw above, so any chance I could get and install the font manually?

I'm using JetBrains Mono at the moment, and it seems OK, but I'd like to check the Cascadia Code as well.

BTW, my ligatures are off, primarily because when I teach, the (junior) students get confused ;).

Collapse
 
karenpayneoregon profile image
Karen Payne

Hi, unsure if the following would be helpful

github.com/microsoft/cascadia-code...

Collapse
 
donangel profile image
Doncho Angelov

Thank you so much. From your link I was able to find the Cascadia Code Font releases link, from where I could download and install the font!

Collapse
 
websvcpt profile image
WEBsvc • Edited

Don't find ligature good for coding.

If the idea is to save characters... Don't think that's the way to go

Collapse
 
karenpayneoregon profile image
Karen Payne

Its not about saving characters, it is about readability which I've found to make a difference for work I do that other developer read and work with (of course they like this too).

Collapse
 
benjsoft1976 profile image
Benjamin Fallar III

FiraCode

Collapse
 
prasathmani profile image
Prasath

full documentation available here

Collapse
 
sillybreakfast profile image
breakfast

ooo! i like this font