Visual Studio Code is a code editor with numerous plugins and extensions support to customize the settings. However, the performance of VS Code can become slow over time. Extensions can become corrupt, and specific settings changed, which you don’t remember how to revert.
In these cases, you may want to start from a clean slate by restoring every setting of VS code to default. Resetting VS Code will also clean the configurations that you may have added.
Note: Make sure to backup your current settings configurations by making a backup of the settings.json file before the factory reset.
To reset VS Code using VS Code Settings, follow these steps:
- Select the gear icon from the “Activity Bar” and click on Settings.
- Click on the sheet icon in the top-right corner.
- You should see the settings.json file opened. We recommend you copy-paste the code found here in a notepad file to keep a backup of your previous settings.
- Delete the code inside the curly braces and save the file by pressing Ctrl + S.
- When prompted with a message to restart VS Code, select the Restart button.
Voilà! You have restored Visual Studio Code to the default settings.