How to reset VS Code to the default settings

Last updated on February 8, 2022 A Goodman Loading... 6 comments

This is a guide on how to reset VS Code (Visual Studio Code) to the default settings for both Windows and macOS users.

The Steps

1. Go to View > Command Palette or press Cmd + Shift + P (macOS) or Ctrl + Shift + P (Windows).

2. Search for open settings json and select Preferences: Open Settings (JSON) which show ups from the result list.

3. If you’ve been working with VS Code for a while and installed a lot of things and made a lot of changes, you’ll find there’s a lot of stuff in this file:

Delete everything inside the root braces and save the file:

4. Relaunch your VS Code.

5. (This step is optional) In case you want to not only reset VS Code but also remove all installed extensions:

  • Delete the ~/.vscode/extensions folder if you’re on a Mac.
  • Delete the %USERPROFILE%.vscode\extensions folder if you’re using Windows.

Further reading:

You can also check out our Visual Studio Code topic page for more tips and tricks to improve your producibility and coding experience.

Subscribe
Notify of
guest
6 Comments
Inline Feedbacks
View all comments
agueda
agueda
4 months ago

I dont see a “src” folder anymore and I am wondering if there is anyway to restore it? no coding background

agueda
agueda
4 months ago
Reply to  A Goodman

omgggg! thank you SO much! From now on I will look in the recycle bin first!

Shade_Programmer
Shade_Programmer
6 months ago

???…Nvm it’s fixed now.

Shade_Programmer
Shade_Programmer
6 months ago

Its read only mode, I can’t delete it. Help me.

Joel Johnson
Joel Johnson
6 months ago

wanna run fades

Related Articles