Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Code editor appears blank

I was using ReSharper with visual studio 2015 and my pc got really slow because of ReSharper and i had to uninstall it. After uninstallation completed when i opened up my project the only thing i saw was a blank screen like this.like this

I know that uninstalling ReSharper caused it and i looked and tried to fix it by changing Text Editor options but nothing worked so far. I've also searched about this issue and nothing came across yet.

Thanks

like image 808
Arefi Clayton Avatar asked May 14 '15 14:05

Arefi Clayton


People also ask

Why my VS code is showing black screen?

Fix: VS Code Black Screen In order to fix this problem, follow these steps: Right click on the shortcut icon of VS Code on your desktop. Go to Properties and open the shortcut tab. In the target field, add: --disable-gpu.

Does Visual Studio have a code editor?

Visual Studio CodeA standalone source code editor that runs on Windows, macOS, and Linux. The top pick for JavaScript and web developers, with extensions to support just about any programming language.


2 Answers

This error is caused by a corrupted Visual Studio cache.

Close all Visual Studio tasks that are running, and delete all files in the folders ComponentModelCache and MEFCacheBackup

these folders are located in:

\Users\YOUR_USER_PATH\AppData\Local\Microsoft\VisualStudio\YOUR_VISUAL_STUDIO_VERSION 
like image 182
Silverstorm Avatar answered Sep 23 '22 13:09

Silverstorm


I know this is a really old thread. I recently had this problem and found that it was a corrupt font.

In my case I was using Cascadia Code font. uninstalling and reinstalling that font fixed it for me.

like image 24
Aaron Glover Avatar answered Sep 19 '22 13:09

Aaron Glover