monaspace
monaspace copied to clipboard
Fontfamily not activating in VSCode?
So I first followed the readme, for MACOSX & ran the bash file. Then verified if I have all the fonts in Font Book -> they are there.
Using the following options in VSCODE:
"editor.fontLigatures": true,
"editor.fontFamily": "Monaspace, Arial, serif",
// for testing
Also tried with the Monaspace _____
Result
Seeing Arial being used in the editor... Is there something that I'm missing?
Thanks in advance!
Solution:
Okay so for people having the same "oopsie" moment as me.. the _____ is the name of the variant of the package. So for VSCode you need:
"editor.fontFamily": "'Monaspace Neon', serif", (or Argon or ...)
FWIW, for me it only works by specifying the full Font name, e.g. Monaspace Neon Var
"editor.fontFamily": "'Monaspace Neon Var', monospace"
Yeah, I was thinking I would specify just Monaspace
and then it would mix and match accordingly. Seems that is not the case: https://github.com/githubnext/monaspace/issues/6
See one identified possible root cause at #111.
Whoops, GH auto closed this when I merged #125
We'll produce a new build soon and check that this (and related issues) are solved.
Just wanted to add (in case someone else was stuck with the same problem as me), that the fonts only appeared in vscode for me after closing and reopening the window. Just hitting Ctlr+Shift+P and Developer: reopen window
was not enough
Do you guys know how to use different variants like 'medium' on VS Code. Using it like this
Monaspace Neon Var Medium
doesn't work.
Try adding this line to settings.json:
"editor.fontWeight": "medium",
I'd recommend using the static Monaspace fonts in VS Code, as it doesn't fully support variable fonts yet. That should allow you to set the font weight as normal.