Tuesday, June 25, 2024

My favorite font for coding, Cascadia Code PL

 

Cascadia Code PL: a version of Cascadia that has embedded Powerline symbols. Really like the way >= and =< are displayed.

Installation Via Chocolatey (unofficial, by zunderscore)

Chocolatey users can download and install the latest release of Cascadia Code or any of its variants via the following packages:

choco install cascadiacode
choco install cascadiamono
choco install cascadiacodepl
choco install cascadiamonopl

Installing Cascadia Code in VS Code

  1. Go to File > Preferences > Settings or hit Ctrl + , in VS Code.
  2. Enter "Font Face" in search field.
  3. Enter following in Font Face option: 'Cascadia Code', Consolas, 'Courier New', monospace.
  4. Enable Font Ligatures option available just below 'Font Face'.
  5. Press Enter and you're good to go.
  6. To customize weight, enter "Font Weight" in search field.
  7. Select, or type in, the desired font weight (the latest version of VS Code allows manual entry of any font weight).

Note: If you've installed font and it does not get applied in VS Code, try restarting VS Code.

VS Code Settings

Setting Cascadia Code in Visual Studio 2019

  1. Go to Tools > Options in Visual Studio 2019.
  2. Enter "Fonts and Colors" in search field or go to Environment > Fonts and Colors.
  3. Select Text Editor in Show settings for:.
  4. In the Fonts Dropdown select Cascadia Code.
  5. Press Ok and you're good to go.

Note: If you've installed the font and it does not get applied in Visual Studio 2019, try restarting Visual Studio 2019.

Visual Studio 2019 Settings

Links: https://github.com/microsoft/cascadia-code, https://github.com/microsoft/cascadia-code/wiki/Installing-Cascadia-Code#installing-cascadia-code-in-vs-code