4 ms·
To install in VS Code, one edits Settings - Commonly Used - Editor: Font Family. It would appear that one needs the Font Family name, which one can guess. To b
by Syzygies 7y ago
To install in VS Code, one edits Settings - Commonly Used - Editor: Font Family.
It would appear that one needs the Font Family name, which one can guess. To be sure in all cases, I made a MacOS alias:
alias fonts="system_profiler SPFontsDataType | grep 'Family:' | perl -pe 's|^.*Family: ||' | sort -u"
However, how does one select weights, such as defaulting to
JetBrains Mono Medium
It turns out that one can enter a raw font file name in place of the family, such as
JetBrainsMono-Medium
However, any formatting that selects a different style, such as italics, will default to the family. So for example, italic comments are rendered for me in regular not medium weight. I'm fine with this, but it's a quirk that can only be fixed by spelunking into the individual syntax highlighting files.