Skip to content

Instantly share code, notes, and snippets.

@jjaaccoobb
Last active July 17, 2019 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jjaaccoobb/d6a23d99c479cd8c65e2bb0b53eb887b to your computer and use it in GitHub Desktop.
Save jjaaccoobb/d6a23d99c479cd8c65e2bb0b53eb887b to your computer and use it in GitHub Desktop.
Disable editor window's font antialiasing for VS Code (MacOS)

Disable Antialias for only the editor window in VS Code

This is useful for when you want to use a bitmap font (e.g. Terminus) for the editor, while keeping workbench font antialiased.

Edit stylesheet

vim /Applications/Visual\ Studio\ Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.css

The classname for the editor already exists in the stylesheet. Add the following declaration to it at the top of the file.

.editor-container {
  -webkit-font-smoothing: none;
}

Restart VS Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment