no need of Unistalling, just go to your vscode-setup and reinstall it. (by this procedure all of your's settings, files , extensions etc.. will be restored as it is.)
Answer from Ajay jangid on Stack Overflowno need of Unistalling, just go to your vscode-setup and reinstall it. (by this procedure all of your's settings, files , extensions etc.. will be restored as it is.)
Try this; it worked for me!
- Go to the Microsoft store.
- Install VS Code from there.
- An error message may appear.
- Open VS Code and wait.
Visual Studio Code is not opening
Can't open VSCode
My Visual Studio Code shutdown and Can not be Opened
Vs code not opening after updating few extensions
Videos
hello, I don't know what's wrong with my VSCode, but I can't open it.
I tried restarting the computer, uninstall/re-install VScode but nothing works. When I click open, the mouse cursor flashes a loading icon beside the mouse cursor, but nothing pops up. It's 'open' in the task manager though, and the bracket there shoots up to 100+ (the first time I click open) where there is one .NET Host, some is Console Window Host, and the rests are Visual Studio Code. When I double click VSCode again, the bracket in the task manager will load more files, but nothing pops up.
Any ideas what's wrong and how I can fix it?
problem solved. Thanks!
It's an issue with Version 1.89.1. They are working on a fix. https://github.com/microsoft/vscode/issues/219893
experienced this issue this morning but found a work around
- uninstall vscode
- download the may 2024 version of vscode here https://code.visualstudio.com/updates/v1_90
- problem should be fixed
Uninstall VSCode
Rename the following folder to "Microsoft VS Code.Old"
C:\Users%username%\AppData\Local\Programs\Microsoft VS Code
Rename the following folder to "Code.Old"
C:\Users%username%\AppData\Roaming\Code
Reinstall VS Code.
Does that help?
I install and uninstall many time but it not work
Originally I found https://github.com/microsoft/vscode/issues/81970, but it doesn't mention a solution. I have it where the pid of the process constantly changes.
Then I found https://github.com/microsoft/vscode/issues/219893, which worked for me.
The solution was to rename the installed Visual Code and download version 1.90.
This happened to me after upgrading to MacOS Sequoia today. To fix it:
Find your VS code application > right click and Show package contents > navigate to Contents/MacOS > open Electron
This opened VS code for me. Update VS code if any new updates are available, and it works fine after that. You also don't lose your settings this way.
I had the same problem described here, new install of Ubuntu 18.04 LTS. I installed VS Code from conda.
Discovered that if you run the following
code --verbose
It will tell you what is going on with Code. In my case
code --verbose
[main 20:19:26] Startup error:
Error: EACCES: permission denied, mkdir '/home/<user>/.config/Code/CachedData'
sure enough the folder ~/.config/Code had root access permissions for some reason. Deleted the folder using sudo.
rm -rf /home/<user>/.config/Code
Tried again to run code and it working fine.
I had the same problem. Like Robin G and Nezir suggested I realized that the owner of the /home/user/.config/Code directory is the "root". However, You could just change the ownership of that directory instead of removing it.
sudo chown -R $USER "$HOME/.config/Code"
"-R" option is needed to recursively change the ownership of all the files and directories under the target directory.
After this the Visual Studio Code v. 1.27 on Ubuntu 18.04 works as it is supposed to on my machine.
I honestly have no idea what caused this and my search has yielded no results for this error code. My system hasn't had any changes that I can think of since I last launched VS Code a few days ago. I'm thinking it might be related to a windows system update or something?
I've tried renaming my old folders with a fresh install and also tried running the code.exe from the zip download, same result except now my theme is not showing in the background like it was previously (confirming it isn't loading my old data).
Any ideas on how to troubleshoot are appreciated.