Skip to content

Instantly share code, notes, and snippets.

@kika
Last active February 26, 2025 10:34
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