Reputation: 1275
What is the way to totally uninstall Visual Studio Code and its extensions, including all configurations, etc.) on Windows 10?
I tried uninstalling and installing but it remembered its previous settings.
Upvotes: 85
Views: 188388
Reputation: 1199
Here is the complete solution you can apply:
Go to where Visual Studio Code is installed and invoke 'uninst000.exe'.
In my case it is installed in %LOCALAPPDATA%\Programs\Microsoft VS Code
Delete directory %APPDATA%\Code
Delete directory %USERPROFILE%\.vscode
Upvotes: 68
Reputation: 726
Turns out the extensions are stored under %USERPROFILE%\.vscode\extensions
. Deleting that gets rid of them.
Upvotes: 39
Reputation: 2943
Since, you might already know the drill to uninstall and you are emphasizing on remembered its previous settings
, please do the following:
%appdata%
Code
Voila! Restart Visual Studio Code and it is reset!
Here is a bat script which does the same thing:
explorer.exe %appdata%
del Code
P.S: Since, you want to uninstall go to
Add or Remove Programs
and click on bottom right of theVisual Studio Code
tile, where it saysUninstall
.
Upvotes: 114
Reputation: 255
The only thing that can asure any trace if a file is removed, go ahead to your sudo user
In ubuntu:
sudo -i
, others might use sudo - su
then you want to proceed with the global search, then you must run:
find / -name "vscode"
You will probably end up having a lot of permission denied, but that's ok. we don't want to access them anyways.
Now you'll end up with a big list of files to remove, so you can go one by one and ensure you're in fact removing them OR...
you can just run find / -name "*vscode*" | grep vscode | xargs rm -rf
Upvotes: -1
Reputation: 38584
Since you use the word Completely, I would say
%APPDATA%
and remove the folder called Code.
%LOCALAPPDATA%
and deleted the folder code
if it exists.%USERPROFILE%\AppData\Roaming
and remove the folder code
This will remove all your configurations and the extensions
FYI: Uninstall Visual Studio Code by code.visualstudio.com
Upvotes: 4
Reputation: 111
Go to Path: C:\Program Files\Microsoft VS Code
Double Click
uninstall.exe
This will uninstall VS Code from Your Windows OS and
After uninstallation delete code
folder also.
Open Run (Win + R)
and Enter %appdata%
Press Enter
Delete the folder code
.
Upvotes: 9
Reputation: 8253
Easy way to remove it
Step1: to find VSCode path
Example: C:\Users\Willie\AppData\Local\Programs\Microsoft VS Code
Step2: to run unins000.exe
Upvotes: 8