Search code examples
visual-studio-codeelectronatom-editormacos-mojave

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


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?


Solution

  • 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