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.
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!
Visual Studio Code is not opening
I can't open Vscode
macos - Visual Studio Code can't be opened because "Apple cannot check it for malicious software" - Stack Overflow
Can't open visual studio code
Videos
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.
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
macOS Catalina requires apps to be notarized by Apple. Your version of Visual Studio Code is yet to be updated by Microsoft for the new OS.
Please try the following:
Right-click on the app and select Open.
If this did not work, remove the quarantine extended attribute that’s set on the app:
- Move the app to the Applications folder
- Open Terminal.app, then paste and execute the following command:
xattr -d com.apple.quarantine /Applications/Visual\ Studio\ Code.app
If Right Click > Open doesn't open Visual Studio Code:
Another alternative can be simply navigating to System Preferences > Security & Privacy.
In the General tab, navigate and click Open Anyway button next to ("Visual Studio Code" was blocked from use because it is not from an identified source).
Security & Privacy
- CTRL+SHIFT+X
- Type in search box Code Runner
- Install the extension
- Than click on File - Preferences - Settings
- Type code run in search box.
- Scroll down until you find Code-runner: Run In Terminal. Check the box Wheather to run code in Integrated Terminal.
- Restart VS Code
Good luck!
first of all I'm a begginer in VS code so I will try my best to explain how I sort of fixed this "error". Hope this post still helps a lot of people.
What I think is happening is that this C program gets only compiled when you hit "Run Code". I'm not sure about this at all. The solution I found is that the right way to actually run your program is by "Start Debugging" (F5). Now when you go to the .json file where the configuartion for debugging is located. You simply need to change the line "externalConsole" and set it to "true". And that's basically it. After that you simply Run your program with (F5). Keep in mind that if you change something in your original code you need to run it with "Run Code", (ctrl+alt+n) so that the uptades you do get saved and "compiled".
Hope I helped
Line to change:

Hey guys, I'm new to this (just got my chromebook yesterday and have zero experience with linux). I've just installed Visual Studio Code using the commands from the wiki on this sub and it installed just fine, but won't open. It shows up in my launcher but when I click it it appears blacked out with a perpetual loading symbol on the shelf. From there the only thing I can do is close it. Anyone know a fix for this? I need Visual Studio Code for my university and I'd rather not lug my heavy/shitty windows laptop with me to and from uni (I walk and my windows laptop weighs about 10 pounds). Thanks in advance.
Run the Terminal app then launch Visual Studio Code from the command line via the command code. Does that work? My guess is your container is not running and sometimes you have to launch Terminal first to get it to fire up. If Terminal won't open as well then you should try restarting Termina VM via crosh with the comand vmc stop termina and vmc start termina. Then launch Terminal, then launch code. If it starts from the shell it should launch from the icon in the Launcher. If all that fails try a power off and cold start and try again.
Here are the steps I used - https://kmyers.me/blog/chromeos/running-visual-studio-code-on-chromeos-via-project-crostini/
May I ask what Chromebook you have as code will fail on arm based machines