简体   繁体   中英

How do I factory reset Visual Studio Code or Delete Folders

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)

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

在此处输入图像描述

  1. Type "settings json"

在此处输入图像描述

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

在此处输入图像描述

  1. Edit file and leave only braces { }

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM