Last active
July 8, 2022 17:05
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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