Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Code window has crashed

I m getting the below error in visual studio code visual studio error

when i click on reopen this alert kept coming and not allowing me to write the code inside the editor. I have uninstall and reinstall visual studio code but still its showing this error.

like image 893
Feroz Siddiqui Avatar asked Feb 01 '18 14:02

Feroz Siddiqui


People also ask

How do I fix VS Code 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.

Why terminal is not opening in VS Code?

Changing Default Command Line Shell Then, click on the arrow on the side of a plus (+). Here, choose Select Default Profile. Then, select any other type of command line shell. Then, restart vs code and try working on terminal.


2 Answers

Mac only:

$ open /Applications/Visual\ Studio\ Code.app -n

For context: -n, --new Open a new instance of the application even if one is already running. Thanks @TMG. More options can be found in the docs: https://code.visualstudio.com/docs/editor/command-line

VS Code documentation

like image 106
theptrk Avatar answered Oct 03 '22 07:10

theptrk


Try terminating any Code.exe processes still alive in Task Manager

like image 42
mamashare Avatar answered Oct 03 '22 06:10

mamashare