diff --git a/README.md b/README.md index 62f1963..d4802da 100644 --- a/README.md +++ b/README.md @@ -94,20 +94,8 @@ Courtesy of [@ForNeVeR](https://github.com/ForNeVeR): "workbench.fontAliasing": "none" ``` - Which will make code editor look nice, but everything else in the VSCode UI - ugly. The solution to that is to modify the CSS for the VSCode itself, edit `/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.css` file (you may want to reformat it) and add the following: - - ```css - .monaco-shell { - ... - -webkit-font-smoothing: antialiased !important; - } - - ``` - Here is one line "patch": - ``` - perl -i.bak -pe 's/\.monaco-shell{(.*?)}/.monaco-shell{\1;-webkit-font-smoothing: antialiased !important;}/g' /Applications/Visual\ Studio\ Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.css - ``` - + Which will make code editor look nice, but everything else in the VSCode UI - ugly. The solution to that is to modify the CSS for the VSCode itself. +[Here is the script that I keep more or less updated when VSCode changes the CSS](https://gist.github.com/kika/2b5a3ccf065a251a6a8cbcdca7d823cc) - Windows + Visual Studio 2015: works mostly okay, but `->` ligature doesn't work. That's a [known problem of WPF text renderer](https://github.com/tonsky/FiraCode/issues/259#issuecomment-243422144). - Windows + ConEmu: no ligatures at all. Powerline stuff works okay though, so font is usable even without ligatures. I'd recommend to set font cell width manually to 8 (otherwise it'll have problems determining proper places for line wrapping and rendering Far Manager UI): **Settings** → **Main** → **Main console font** group → select **Cell: 8** from the selector.