Noticed Microsoft's latest-ish version of Cascadia Code has italic ligatures in it. It makes italic text into handwriting-like. Found it useful to quickly identify and ignore language keywords when reading code. Example:
To enable those in vscode one couldnt just set "editor.fontLigatures": true but had to add a list of strings that I dont understand what does: "editor.fontLigatures": "'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'zero', 'onum'". What does that do exactly? Why isnt it enabled if I just say "true"?
The ss## things stand for different Stylistic Sets in the font, zero means you want to use the slashed zero, and onum means to use Oldstyle Figures for the numbers, so numbers are at varying heights. (Info found here: docs.microsoft.com/en-us/typograph...)
As far as why you can't just specify true and have it turn on all the ligature options, I'm not sure, but possibly because there would be conflicting options in this particular font? I'm also curious now if someone knows the answer to that one.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Noticed Microsoft's latest-ish version of Cascadia Code has italic ligatures in it. It makes italic text into handwriting-like. Found it useful to quickly identify and ignore language keywords when reading code. Example:
To enable those in vscode one couldnt just set
"editor.fontLigatures": true
but had to add a list of strings that I dont understand what does:"editor.fontLigatures": "'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'zero', 'onum'"
. What does that do exactly? Why isnt it enabled if I just say "true"?Yea Cascadia Code is so nice!!
The
ss##
things stand for different Stylistic Sets in the font,zero
means you want to use the slashed zero, andonum
means to use Oldstyle Figures for the numbers, so numbers are at varying heights. (Info found here: docs.microsoft.com/en-us/typograph...)As far as why you can't just specify
true
and have it turn on all the ligature options, I'm not sure, but possibly because there would be conflicting options in this particular font? I'm also curious now if someone knows the answer to that one.