Visual studio code mac

hi i having trouble opening vsc in mac i just get a white screen i tried to remove the cheche but hasn't work i have redownloading it but that hasn't work either any advice would be great

Windows, Windows 10

Posted on Nov 21, 2023 7:39 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 22, 2023 3:55 AM

got it fixed used code --disable-gpu, comment from vsc:

The Electron shell used by Visual Studio Code has trouble with some GPU (graphics processing unit) hardware acceleration. If VS Code is displaying a blank (empty) main window, you can try disabling GPU acceleration when launching VS Code by adding the Electron --disable-gpu command-line switch.

code --disable-gpu

If this happened after an update, deleting the GPUCache directory can resolve the issue.

rm -r ~/.config/Code/GPUCache


3 replies
Question marked as Top-ranking reply

Nov 22, 2023 3:55 AM in response to jaadams13

got it fixed used code --disable-gpu, comment from vsc:

The Electron shell used by Visual Studio Code has trouble with some GPU (graphics processing unit) hardware acceleration. If VS Code is displaying a blank (empty) main window, you can try disabling GPU acceleration when launching VS Code by adding the Electron --disable-gpu command-line switch.

code --disable-gpu

If this happened after an update, deleting the GPUCache directory can resolve the issue.

rm -r ~/.config/Code/GPUCache


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Visual studio code mac

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.