To open the User settings:

  • Open the command palette (either with F1 or Ctrl+Shift+P)
  • Type ">open settings" (You must include the '>' at the beginning)
  • You are presented with a few options¹, choose Open User Settings (JSON)

This image was taken in the VS Code online editor

Which, from the manual and depending on platform, is one of:

  • Windows %APPDATA%\Code\User\settings.json²
  • macOS $HOME/Library/Application\ Support/Code/User/settings.json
  • Linux $HOME/.config/Code/User/settings.json

The Workspace settings will be in a {workspaceName}.code-workspace file where you saved it, and the Folder settings will be in a .vscode folder if and when it has been created.


Official page on User and Workspace Settings

As stated by sevencardz below, VS Code includes a button in the Settings UI gutter which can be used to switch between JSON and graphical view.

The workbench.settings.editor option selects which of the settings files is opened by default when not using the above method, such as with the shortcut +, or through the application menu.

Footnotes

  1. The aforementioned settings, User and Workspace. Remote settings will appear when using WSL.

  2. By a test this maps to %APPDATA%\Roaming\Code\User\settings.json, I am not sure by what logic.

Answer from Martin Kleiven on Stack Overflow
🌐
Nono Martínez Alonso
nono.ma › change-vscode-settings-json-location
Change VSCode settings.json location · Nono Martínez Alonso
February 10, 2023 - Visual Studio Code’s settings JSON file is always located at the same path. ~/Library/Application\ Support/Code/User/settings.json · The way I worked around this limitation is by creating a symbolic link from this path to another file.
🌐
Read the Docs
vscode-docs.readthedocs.io › en › stable › customization › userandworkspace
User and Workspace Settings - vscode-docs
Depending on your platform, the user settings file is located here: Windows %APPDATA%\Code\User\settings.json Mac $HOME/Library/Application Support/Code/User/settings.json * Linux $HOME/.config/Code/User/settings.json · The workspace settings file is located under the .vscode folder in your ...
Discussions

Where is settings.json?
Ctrl+Shift+P then type "settings". https://www.screencast.com/t/eDq4yjOX More on reddit.com
🌐 r/vscode
4
1
February 27, 2022
The location of the settings.json file
Hi, Where can I get access to the settings.json file (not from within vscode). I would like to update the settings.json using a shell script ... More on github.com
🌐 github.com
3
3
November 8, 2021
How to share common settings.json file between projects/teammates?
Use workspace settings ( https://code.visualstudio.com/docs/getstarted/settings#_workspace-settings ) to override specific settings per project. If you just want to enforce coding styles, consider using editorconfig ( https://editorconfig.org/ ) . This works with many other text editors. More on reddit.com
🌐 r/vscode
9
1
February 10, 2023
Workspace file vs .vscode files - where do my project settings actually go?
There are 4 levels of settings in VS Code, which in ascending order of priority are: Default, User, Workspace, and Workspace Folder. You can see the latter 3 as tabs in the Settings UI if they are meaningfully distinct and they are each stored as JSON in different locations. This is because VS Code supports multi-root workspaces. The files in the .vscode folder are for that workspace folder and have the highest priority. EDIT: The Settings documentation might help clear some things up. More on reddit.com
🌐 r/vscode
6
14
August 3, 2018
People also ask

Why have the changes I made via the settings.json file not taken effect?

Any changes you make via the settings.json file only take effect once you have restarted the code editor. So, if there are changes that you have made and have not taken effect, restart the editor and see if that resolves the issue. If that does not work, consider restarting the whole computer altogether.

🌐
alphr.com
alphr.com › home › how to open settings.json in vs code
How to Open Settings.json in VS Code
Why do I get an error saying that VS Code cannot write my settings?

If you’re trying to change a setting but keep getting an error message, there was probably a mistake while editing the settings.json file. For example, you may have mistyped a particular value. To resolve the issue, open the settings.json file again and check for errors marked with red squiggles.

🌐
alphr.com
alphr.com › home › how to open settings.json in vs code
How to Open Settings.json in VS Code
How do I reset all of my settings in VS Code?

The easiest way to reset all your VS Code settings back to the default is by erasing the contents of the user settings.json file except the opening and closing brackets. However, note that this action cannot be reverted, so you must be very careful before proceeding. Once you have erased everything, save the file and restart the editor.

🌐
alphr.com
alphr.com › home › how to open settings.json in vs code
How to Open Settings.json in VS Code
Top answer
1 of 14
699

To open the User settings:

  • Open the command palette (either with F1 or Ctrl+Shift+P)
  • Type ">open settings" (You must include the '>' at the beginning)
  • You are presented with a few options¹, choose Open User Settings (JSON)

This image was taken in the VS Code online editor

Which, from the manual and depending on platform, is one of:

  • Windows %APPDATA%\Code\User\settings.json²
  • macOS $HOME/Library/Application\ Support/Code/User/settings.json
  • Linux $HOME/.config/Code/User/settings.json

The Workspace settings will be in a {workspaceName}.code-workspace file where you saved it, and the Folder settings will be in a .vscode folder if and when it has been created.


Official page on User and Workspace Settings

As stated by sevencardz below, VS Code includes a button in the Settings UI gutter which can be used to switch between JSON and graphical view.

The workbench.settings.editor option selects which of the settings files is opened by default when not using the above method, such as with the shortcut +, or through the application menu.

Footnotes

  1. The aforementioned settings, User and Workspace. Remote settings will appear when using WSL.

  2. By a test this maps to %APPDATA%\Roaming\Code\User\settings.json, I am not sure by what logic.

2 of 14
185

On the settings UI page, there's a special button in the top right corner gutter that toggles between the settings.json file and the settings UI.

Bonus Answer:

Add "workbench.settings.editor": "json" to your settings.json file. This will make it so that menu FilePreferencesSettings or + , opens your settings.json file by default. Optionally, add a comment at the top to remind yourself where the toggle button is.

// Click the Open Settings (UI) button in the top
// right corner gutter to toggle the settings UI
{
    // Other settings in settings.json
    // ...
    "workbench.settings.editor": "json"
}
🌐
Alphr
alphr.com › home › how to open settings.json in vs code
How to Open Settings.json in VS Code
January 18, 2023 - If you’re on a Windows computer, here’s how to use the program to open the settings.json file: Press the “Windows + R” keys to open the run box. Type in “%userprofile%” without the quotations and hit “Enter.” · Select “AppData.” By default, you can’t view the “AppData” file. So, go to “View” and check the “Hidden items” checkbox to get permission to view the file. ... Locate the “Settings.json” file, then right-click it.
🌐
Micro Focus
microfocus.com › documentation › vscode › enterprise › GUID-84045421-C70A-4583-BC59-45995A146745.html
Settings File (JSON)
This opens the global settings.json in the editor. The location of the file is %userprofile%\AppData\Roaming\Code\User (Windows) or ~/.config/Code/User (Linux) for default installations.
Find elsewhere
🌐
Reddit
reddit.com › r/vscode › where is settings.json?
r/vscode on Reddit: Where is settings.json?
February 27, 2022 -

Hi , I am new to VS Code, doing a python course. The course require to use an extension and change the settings by going and editing the json file. But when I open the settings.json file it is empty. If I click any option in the settings ui, that option is showing in the .json file but default settings are not shown. How do i fix this?

🌐
Posit
docs.posit.co › ide › server-pro › user › vs-code › guide › settings.html
VS Code Settings – Posit Workbench Documentation Release 2026.01.1
Then, type and select: “Preferences: Open User Settings (JSON)” and press ENTER. ... Workspace settings are specified in .vscode/settings.json within the workspace folder.
🌐
Visual Studio Code
code.visualstudio.com › docs › reference › default-settings
Default settings reference
November 3, 2021 - To view the list of default settings, run the Preferences: Open Default Settings (JSON) command from the Command Palette (⇧⌘P (Windows, Linux Ctrl+Shift+P)).
🌐
Bobby Hadz
bobbyhadz.com › blog › vscode-open-settings-json
How to open settings.json in VS Code [6 Ways] | bobbyhadz
The .vscode/settings.json file is easily accessible as the .vscode folder is located in the root directory of your project.
🌐
GeeksforGeeks
geeksforgeeks.org › python › locating-and-modifying-vscode-settingsjson
Locating and Modifying VSCode settings.json - GeeksforGeeks
August 28, 2024 - Method 1: Open VSCode, go to File > Preferences > Settings. Then, click on the icon in the top right corner that looks like a document with an arrow. ... Once the file is located, the JSON content can be directly edited.
🌐
Visual Studio Code
code.visualstudio.com › docs › debugtest › debugging-configuration
Visual Studio Code debug configuration
November 3, 2021 - Creating a launch configuration file is also beneficial because it allows you to configure and save debugging setup details with your project. VS Code stores debugging configuration information in a launch.json file located in the .vscode folder in your workspace (project root folder), or in ...
🌐
Medium
alinawrites.medium.com › how-to-find-settings-json-in-vscode-e6f678dbc01d
How to find settings.json In VSCode | by Alina Writes | Medium
October 6, 2022 - And the quickest way to open ... , (comma) on Mac. ... Next, on the User Settings screen, click on a small button that looks like a new file icon in upper right corner of the VSCode dashboard:...
🌐
Awswithatiq
awswithatiq.com › vscode-settings-json
VSCode settings json – AWS with Atiq
September 9, 2023 - User Settings: These are global and apply to any instance of VSCode you open. The customizations discussed so far fall under this category. They are saved in the aforementioned settings.json in your user directory. Workspace Settings: These are specific to a project or directory. Let’s say you’re working on a Python project that requires a specific Python interpreter or path settings. You can set these on a per-project basis in a settings.json file located in the .vscode directory of your workspace.
🌐
Visual Studio Code
code.visualstudio.com › docs › configure › settings
User and workspace settings
November 3, 2021 - Then, File > Preferences > Settings and the keybinding ⌘, (Windows, Linux Ctrl+,) always open the settings.json file and not the Setting editor UI. Depending on your platform, the user settings file is located here: ... The workspace settings ...
🌐
Visual Studio Code
code.visualstudio.com › docs › setup › setup-overview
Setting up Visual Studio Code
5 days ago - If you want to remove all user data after uninstalling VS Code, you can delete the user data folders Code and .vscode. This returns you to the state before you installed VS Code. This can also be used to reset all settings if you don't want to uninstall VS Code. The folder locations vary depending ...
🌐
Visual Studio Code
code.visualstudio.com › docs › getstarted › userinterface
User interface
November 3, 2021 - Alternately, you can modify the ... settings.json file. For workspace settings, open the settings.json file in the .vscode folder in your workspace....
🌐
Visual Studio Code
code.visualstudio.com › docs › configure › settings-sync
Settings Sync
November 3, 2021 - Local backups folder in the disk can be accessed via the Settings Sync: Open Local Backups Folder command. The folder is organized by the type of preference and contains versions of your JSON files, named with a timestamp of when the backup occurred.
🌐
Visual Studio Code
code.visualstudio.com › docs › getstarted › tips-and-tricks
Visual Studio Code tips and tricks
November 3, 2021 - # open the current directory in the most recently used code window code -r . # create a new window code -n # change the language code --locale=es # open diff editor code --diff <file1> <file2> # open file at specific line and column <file:line[:character]> code --goto package.json:10:5 # see help options code --help # disable all extensions code --disable-extensions . Workspace-specific configuration files are in a .vscode folder at the root of your workspace.
🌐
Visual Studio Code
code.visualstudio.com › docs › configure › extensions › extension-marketplace
Extension Marketplace
November 3, 2021 - A good set of extensions can make working with a particular workspace or programming language more productive and you'd often like to share this list with your team or colleagues. You can create a recommended list of extensions for a workspace with the Extensions: Configure Recommended Extensions (Workspace Folder) command. In a single folder workspace, the command creates an extensions.json file located in the workspace .vscode folder where you can add a list of extensions identifiers ({publisherName}.{extensionName}).