You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Status of the project and support in editors, themes and ecosystem #402
a super-family of monospaced fonts which all share the same width
texture-healing which makes monospaced font more visually pleasing
ligatures which make common letter pairs more visually pleasing
I really liked the main idea (1) of Monaspace to have different fonts used for semantically different code parts. Although it seems that most of that falls flat because of missing support in code editors, and we fall back on 2 and 3.
What is the current status of the project?
Are there any known editors which support all of the original goals?
Are there any reference themes which make use the super-family feature?
Vscode, Jetbrains etc. don't work because they only support one font for everything.
git clone https://github.com/geroldmeisinger/vscode
cd vscode
npm install
npm audit fix
# npm audit fix --force
npm run compile
./scripts/code.sh
In order for editor.semanticTokenColorCustomizations to provide their semantics you need a corresponding language extension. Typescript is provided by default. For each other language you need to build the CLI first and install the extension via CLI.
Update: I just tried python extension and as it turns out Pylance is proprietary software, only available in the official release, and refuses to work on purpose. Thus you have to find an open language server provider for which ever language you are using. For python use this language server instead: https://github.com/DetachHead/basedpyright/releases
Update2:draft pull request to official vscode. please contribute bug reports and comments!
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
npm run build-cli
./scripts/code-cli.sh --install-extension <
prompt was:
checkout https://github.com/microsoft/vscode/pull/263403/changes
this pullrequest for visual studio code added "fontFamily" property to setting "editor.tokenColorCustomizations": { "textMateRules": [] }" which allows overriding font per syntactic token type.
please implement "fontFamily" support for "editor.semanticTokenColorCustomizations": { "rules": {"!
Activity
geroldmeisinger commentedon Sep 14, 2026
Vscode
according to issue #36512 this was implemented in PR #263403 - Adding font info in colorTokenCustomization and
editor.tokenColorCustomizationsnow supportsfontFamily(but not yet ineditor.semanticTokenColorCustomizations!).I had to set
editor.allowVariableFontsInAccessibilityMode" : truefor this to work!you can press
Ctrl+Shift+P=> "Developer: Inspect Editor Tokens and Scopes" to see which token is whatthere also exists a hacky workaround using the Custom CSS and JS Loader extension.
geroldmeisinger commentedon Sep 15, 2026
So, apparently I implemented
fontFamilysupport tosemanticTokenColorCustomizationsby accident with the help of some LLM 😄To make this work checkout my vscode fork. To build vscode follow this guide: https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites (it's actually quite easy).
Requires Nodejs
and
sudo apt install build-essential g++ libx11-dev libxkbfile-dev libsecret-1-dev libkrb5-dev python-is-python3In order for
editor.semanticTokenColorCustomizationsto provide their semantics you need a corresponding language extension. Typescript is provided by default. For each other language you need to build the CLI first and install the extension via CLI.Update: I just tried python extension and as it turns out Pylance is proprietary software, only available in the official release, and refuses to work on purpose. Thus you have to find an open language server provider for which ever language you are using. For python use this language server instead: https://github.com/DetachHead/basedpyright/releases
Update2: draft pull request to official vscode. please contribute bug reports and comments!
Deprecated:
https://github.com/microsoft/vscode/wiki/How-to-Contribute#extensions
In
product.jsonadd:or install via CLI (needs cli build):
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shnpm run build-cli ./scripts/code-cli.sh --install-extension <prompt was:
TODO (not-me): provide a theme