Skip to content

Instantly share code, notes, and snippets.

@kika
Last active July 8, 2022 17:05
Show Gist options
  • Save kika/2b5a3ccf065a251a6a8cbcdca7d823cc to your computer and use it in GitHub Desktop.
Save kika/2b5a3ccf065a251a6a8cbcdca7d823cc to your computer and use it in GitHub Desktop.
Keep VS Code UI font antialiased when the editor window has the antialias turned off
# MacOS only
# This script modifies one VS Code file. After that the VS Code will complain that the installation is damaged.
# You can dismiss the warning or install an extension that recalculates the checksums for the files
# The script creates a backup for the CSS file it modifies
perl -i.bak -pe 's/\.monaco-workbench.mac.monaco-font-aliasing-none{-webkit-font-smoothing:none/.monaco-workbench.mac.monaco-font-aliasing-none{-webkit-font-smoothing:antialiased/g' \
/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.css
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment