How do I factory reset Visual Studio Code or Delete Folders

Viewed 6945

I started to learn one language and moved to a different one. I want to start with that language with a fresh code editor. But I don't know how to reset visual studio code and delete all my data. Can someone help me? I'm quite new to vs code. (Sorry if this is a stupid question)

2 Answers

You can delete VSCode related data comletely by deleting both of these or if you just want to reset your editor just delete the .vscode folder in your user profile.

To Delete user data directory Code:

  • Windows %APPDATA%\Code
  • macOS $HOME/Library/Application Support/Code
  • Linux $HOME/.config/Code

To Delete the extensions and other related data, delete the folder named .vscode:

  • Windows %USERPROFILE%\.vscode
  • macOS ~/.vscode/
  • Linux ~/.vscode/
  1. Press CTRL + SHIFT + P

enter image description here

  1. Type "settings json"

enter image description here

  1. Click "Preferences: Open Settings (JSON)"

enter image description here

  1. Edit file and leave only braces { }
Related