Visual studio code crashes every 2 mins
- VSCode Version: 1.1.1
- OS Version: win 10 pro, version 1511, os build 10586.318
Steps to Reproduce:
- Start visual studio
- open folder
- wait
Get an error msg, window has crashed We are sorry..... You can reopen...
What kind of workspace is it? (How many files, which languages (eg php, typescript, c#))
@tonymk can you answer?
It crashes in both .net core and angular2 environments. Testing with single files now. Seems ok so far. Did try to run it in administrator mode, still crashed.
Tried to reinstall vsCode aswell without success.
Deleted node_modules to test with fewer files, still crashes. with this stucture.
C:. │ .gitignore │ index.html │ package.json │ systemjs.config.js │ tsconfig.json │ typings.json │ ├───app │ │ app.component.js │ │ app.component.js.map │ │ app.component.ts │ │ main.js │ │ main.js.map │ │ main.ts │ │ │ ├───components │ │ clientcustomers.service.js │ │ clientcustomers.service.js.map │ │ clientcustomers.service.ts │ │ │ ├───models │ └───services └───typings │ index.d.ts │ └───globals ├───core-js │ index.d.ts │ typings.json │ ├───jasmine │ index.d.ts │ typings.json │ └───node index.d.ts typings.json
@tonymk are you able to share the workspace with us that crashes and list the exact installed extensions that you have?
I just found out how to avoid it from crashing, i noticed a 99+ on the side bar at the git symbol. And it shortly crashed after. So i disabled git. and it is not crashing anymore. Not sure how that works, since the folder i opened does not have a git repository.
As for extensions: C#, Angular2 snippets by balram, gitignore by codeZombie.
@joaomoreno any idea if/how git could be involved here?
Found the problem, there turned out to be a .git file in C:\ (Sigh...) So when there was not any .git file in the folder that was opened. It tracked the .git file in C:\ Which propably led to vsCode tracking every file on C:\ and hence it crashed.
Glad you found the hidden .git folder. Closing as a duplicate of #6162.