How to Reset Visual Studio Code Settings

The Visual Studio Code editor can sometimes encounter issues that leave you with no choice but to reset its settings. Resetting the settings reverts everything back to default, allowing VS Code to work exactly as it did when first installed.In this guide, we will cover different methods to reset Visual Studio Code settings.

1. Reset Settings via Command Palette

The Command Palette provides a quick way to reset settings without manually opening files. This option clears all modified values and restores the defaults, which often resolves minor errors and conflicts within seconds.

  1. Open Visual Studio Code and press Ctrl + Shift + P.
  2. Type:
    Preferences: Open User Settings (JSON)

  3. Delete all the content in the file and press Ctrl + S to save.

2. Delete Settings File Manually

If the settings file is badly corrupted, the editor may continue to crash. Deleting the settings.json file forces VS Code to generate a new one with default values, removing incorrect or broken configurations.

  1. Close Visual Studio Code completely.
  2. Go to the settings.json file location, or press Windows + R and type:
    %APPDATA%\Code\User\

  3. Right click on settings.json and select Delete.
  4. Restart Visual Studio Code, and a fresh default settings file will be created automatically.

If you continue to see slowdowns, broken recent files, or search glitches after a reset, clear the user data folders. VS Code recreates these on launch.

Windows

%APPDATA%\Code\User\ %USERPROFILE%\.vscode\

macOS

$HOME/Library/Application Support/Code/User ~/.vscode

Linux

$HOME/.config/Code/User ~/.vscode
ABOUT THE AUTHOR

Muhammad Usman Ashraf


Muhammad Usman Ashraf is a content writer and website specialist with a strong background in WordPress development, SEO, and troubleshooting guides. At Appuals, he manages and writes in-depth articles that help users solve technical problems in simple, clear steps. Usman is passionate about creating useful content and building websites that are fast, easy to use, and optimized for search engines. With a mix of creativity and technical skills, he focuses on making information accessible and valuable for every reader.