microsoft / cascadia-code

This is a fun, new monospaced font that includes programming ligatures and is designed to enhance the modern look and feel of the Windows Terminal.
Other
25.16k stars 797 forks source link

not able to select italic font in vscode #578

Closed sanket-bhalerao closed 2 years ago

sanket-bhalerao commented 2 years ago

Cascadia family version

CascadiaCode-2108.26

Cascadia family variant(s)

Cascadia Code (the version with ligatures)

Font file format(s)

.ttf (variable)

Platform

windows

Other Software

Visual Studio code (latest Insiders release) Windows Terminal Preview.

What happened?

i want to use the Italics version of Cascadia code in VSCode. However there is no way to select that font in VSCode. if I only install the italics version of font I get what I expect in vscode. if I install Windows Terminal Preview then it installs the regular version of font and the italics are not available in VSCode from there on. there is no italics selection property in vscode. i like Cascadia Code Italics more for my development activity over the regular.

expected result: there should be a separate, selectable italic font family that can be used in VSCode and other development environments.

aaronbell commented 2 years ago

VSCode provides mechanisms to apply a font style (like italic) to given text runs: https://github.com/wesbos/cobalt2-vscode/issues/116

I have done similar to use italics for comments. In your case you need to apply the italic style to all text.