Do you want to reset VSCode settings to the default values?
VSCode is a simple, versatile code editor that fits developers from various programming languages. However, with time, VSCode can be slow and cluttered. In this case, you may want to start fresh, resetting its settings is one of many ways to do that.
In this article, we are going to show you how to reset VSCode settings to the default values.
Reset VSCode settings from the program
This is the recommended way to reset VSCode settings, as there’s a very small chance you would wreck things up and end up re-install VSCode altogether.
In order to reset VSCode settings using its own feature, fire up Command Palette and search for Settings (JSON). This will open up settings.json
file, which contains all your configuration. Delete everything from the file and save it. After restarting VSCode, things will be as new as if you’ve just installed VSCode.
If you don’t want to reset everything, you can use VSCode UI mode to reset certain things back. With VSCode open, fire up Command Palette and search for Settings (UI). Scroll through the settings, you will see a few section with a blue line right next to it, it means you’ve modified that one.
Hovering your cursor into that section, you would see a gear button appear. You can click it and select Reset Settings to restore that single setting.
Alternatively, with certain settings, you can use the drop-down to select the default value of it.
Delete VSCode settings manually
By default, VSCode stores user settings in a couple of pre-defined folders/directories. Deleting the contents of these directories can reset VSCode settings, although there’s a chance it may corrupt the program and you’ll end up reinstalling VSCode.
VSCode user settings path :
- Windows
%APPDATA%\Code\User\settings.json
- macOS
$HOME/Library/Application Support/Code/User/settings.json
- Linux
$HOME/.config/Code/User/settings.json
VSCode extension data path :
- Windows
%USERPROFILE%\.vscode\extensions
- macOS
~/.vscode/extensions
- Linux
~/.vscode/extensions
We hope this article helped you learn how to reset VSCode settings to the default values. You may also want to see our guide on binding terminal commands to VSCode keyboard shortcuts and advanced usage of VSCode multiple cursors.