Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

After update to MacOs Mojave Visual Studio Code text is almost unreadable

I have just installed MacOs Mojave... And when I opened Visual Studio Code... Surprise! The text it's kind of dimmed with less contrast, specially on the external display. The result is that the code it's hard to read. It seemed related to the mode, but not! It happens both in Light and dark modes.

enter image description here

Has anyone found a solution to that problem?

like image 426
David Avatar asked Sep 27 '18 15:09

David


People also ask

Does Mac support Visual Studio code?

Yes, VS Code supports macOS ARM64 builds that can run on Macs with the Apple M1 chip. You can install the Universal build, which includes both Intel and Apple Silicon builds, or one of the platform specific builds.

How do I get my Visual Studio Mac code back?

Select a symbol then type F12. Alternatively, you can use the context menu or Ctrl+click (Cmd+click on macOS). You can go back to your previous location with the Go > Back command or Ctrl+Alt+-.

Why Visual Studio code is not working properly?

Common issues on Windows# You can check and disable compatibility mode by right-clicking on the VS Code executable and selecting properties, then uncheck the Run this program in compatibility mode option in the compatibility tab.


1 Answers

Well, I end up finding the solution thanks to Ahmad Awais post. It is a font rendering issue that affects to many ElectronJS based apps.

  1. Open the terminal and execute

    defaults write -g CGFontRenderingFontSmoothingDisabled -bool FALSE
    
  2. Restart the system

like image 58
David Avatar answered Sep 23 '22 22:09

David