Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I clear all data for Visual Studio Code?

I downloaded vs code about a year ago and flip flopped between it and pycharm, but now I find that I need to get back to vscode I realised I've changed some sort of file setting, where even where I try to execute a simple python function in the terminal, it returns an error. essentially all I want is a hard reset, but everytime I re-install the application it loads up the same like nothing happened, I have deleted all files before reinstalling, and I have never set up an account, so I don't know where they are getting the data from. All I need is a hard reset!!!

I tried removed files, uninstalling and re installing.

like image 491
Fiachra Bermingham Avatar asked Feb 26 '26 13:02

Fiachra Bermingham


2 Answers

first Search Window’s for “Add or remove programs” and bring up the resulting control panel. In this panel, search for “visual studio” and you’ll find VSCode listed under Microsoft Visual Studio Code. Click the three dots next to the program name and find the option to Uninstall. and then To get a truly fresh re-install, you need to also delete a couple directories that contain VSCode related files and settings. To do that open PowerShell and run these two commands:

  1. rm ~/APPDATA/Roaming/Code 2)rm ~/.vscode

if skip 2nd step you’d find that when you re-install VSCode, some or your previous settings/preferences would still be in place. so complete all step

like image 196
Saish Fatangare Avatar answered Mar 01 '26 02:03

Saish Fatangare


You can completely uninstall vscode according to this link guide.

If you want to remove all user data after uninstalling VS Code, you can delete the user data folders Code and .vscode. This will return you to the state before you installed VS Code. This can also be used to reset all settings if you don't want to uninstall VS Code.

like image 28
JialeDu Avatar answered Mar 01 '26 01:03

JialeDu