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.
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.
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
.
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 C:\Users\Shafi\AppData\Local\Programs\Microsoft VS Code
Delete directory C:\Users\Shafi\AppData\Roaming\Code
Delete directory C:\Users\Shafi\.vscode
Turns out the extensions are stored under %USER%.vscode\extensions. Deleting that gets rid of them.
%USER%\\.vscode\extensions
(or) %USERPROFILE%\.vscode\extensions
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
.
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
Find the location C:\Users\ (your username) Shah907\AppData\Local\Programs\Microsoft VS Code Insiders.
Click on "unins000.exe" and open it to uninstall.
Now find C:\Users\Shah907 and delete " .vscode-insiders " folder.
Now delete " Code - Insiders " in location " C:\Users\Shah907\AppData\Roaming ".
Now Reinstall the Visual Studio Code again.
Enjoy
Ref:DeepDecide
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
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