Yesterday I downloaded the last version of VS Code and installed it.
When I launched it, at first, it seems to work fine, I went directly to the extension sections
I have same VS code black out issue.
In command prompt(cmd) run below command
"code --disable-gpu"
working for me :)
To fix this, follow these steps:
Visual studio code
Shortcut.--disable-gpu
to Target
.It will look like this:
"C:\Program Files\Microsoft VS Code\Code.exe" --disable-gpu
I had same problem in windows 7,have resolved by following above 2 steps:
1.Right-click on VS Code Shortcut -> go to properties -> add --disable-gpu to Target:
"C:\Program Files\Microsoft VS Code\Code.exe" --disable-gpu
2.setting the compatibility with windows 7 in VsCODE shortcut properties.
I had the same problem in windows 10, and it was resolved by setting the compatibility with windows 8 in VsCODE shortcut.
The image above is in Portuguese, please translate to your language.
To fix this for VS Code 1.18 (8 November 2017)
Right-click on Shortcut and add --disable-gpu to Target:
"C:\Program Files\Microsoft VS Code\Code.exe" --disable-gpu
Try changing the compatibility mode of VS code. Please find the illustrated image