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
🌐
Stack Overflow
stackoverflow.com › questions › 72651645 › vscode-missing-settings-in-settings-json-file
visual studio code - VSCode Missing settings in settings.json file - Stack Overflow
So I actually found the solution. It's kinda simple, open the Settings (UI), go to User -> Workbench -> Settings Editor and then changing the Editor to JSON.
Top answer
1 of 14
701

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"
}
🌐
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?

🌐
GitHub
github.com › Microsoft › vscode › issues › 28802
VSCode overrides user settings.json file with an empty one if it was a symbolic link · Issue #28802 · microsoft/vscode
July 15, 2017 - Create symbolic link in ... Start VSCode · In VSCode go to File > Preferences > Settings · => Under "User settings" you will see that settings.json is empty: has only { and } in it ·...
Author   lashchev
🌐
Reddit
reddit.com › r/vscode › new install 1.31 json settings empty...
r/vscode on Reddit: New Install 1.31 json settings empty...
February 11, 2019 -

Hi

Previously when I went to edit json settings I would have left/right view where I would see defaults on the left and copy paste to the right to make edits. New install of 1.31 via homebrew (macOS) and settings is empty...

🌐
Visual Studio Code
code.visualstudio.com › docs › getstarted › settings
User and workspace settings
February 6, 2025 - For example, if you set the editor font size to 14 in your user settings, it will be 14 in all instances of VS Code on your computer. ... Select the Preferences: Open User Settings command in the Command Palette (⇧⌘P (Windows, Linux Ctrl+Shift+P)) Select the User tab in the Settings editor (⌘, (Windows, Linux Ctrl+,)) Select the Preferences: Open User Settings (JSON) command in the Command Palette (⇧⌘P (Windows, Linux Ctrl+Shift+P))
🌐
Visual Studio Code
code.visualstudio.com › docs › languages › json
Editing JSON with Visual Studio Code
November 3, 2021 - The association of a JSON file to a schema can be done either in the JSON file itself using the $schema attribute, or in the User or Workspace settings (File > Preferences > Settings) under the property json.schemas Open in VS Code Open in VS Code Insiders .
🌐
Reddit
reddit.com › r/vscode › when i try run basic code i get a settings.json tab popping up instead.
r/vscode on Reddit: When I try run basic code I get a settings.json tab popping up instead.
January 7, 2022 -

I’m new to VSC and only have experience with MATLAB (mechanical engineer). I’m trying to learn Java scrip but I’m on day two. Yesterday I was making a lot of progress, today whenever I try to run anything (hello world, math, date) a settings.json tab opens up instead of showing the output. Even the codes that worked fine yesterday are doing it. I’ve uninstalled VSC and reinstalled it and it’s still doing it. Please help!

Find elsewhere
🌐
Readthedocs
py-vscode.readthedocs.io › en › latest › files › settings.html
settings.json - How to Python in VS Code - Read the Docs
Locally the settings file can be found in .vscode/settings.json folder in your current project location. To see the global settings.json, head over to $HOME/.config/Code/User/settings.json and open it in VS Code. If you haven’t changed any of the default settings, the file should be empty or almost empty.
🌐
Motherware
motherware.com › webdesign › software-tools › vscode › mtw-vscode-ch4-settings-json-file.php
VSCode, settings.json file | Motherware
April 20, 2022 - VSCode opens the settings.json file and fills it with an empty block for the rulers specification. The cursor is already blinking where you have to type the text. Notice the little dot in the file tab, denoting the file has changed and needs to be saved. This example will create 3 rulers, at positions: 80, 100 and 120.
🌐
TMS Outsource
tms-outsource.com › home › how to open settings.json in vscode fast
How to Open Settings.json in VSCode Fast - TMS Outsource
December 18, 2025 - Open the Command Palette with Ctrl+Shift+P, then select “Preferences: Open User Settings (JSON)”. VS Code automatically creates an empty settings.json file with opening and closing curly braces if none exists.
🌐
GitHub
github.com › microsoft › vscode › issues › 173841
User's settings.json configurations are not applied in non-default profiles · Issue #173841 · microsoft/vscode
February 8, 2023 - Does this issue occur when all extensions are disabled?: (Yes) VS Code Version: 1.75.0 Windows So I created a profile and the went through my user's settings.json file. I realized that almost all of the configs are not applied. When hove...
Author   Ramin-RX7
🌐
Bobby Hadz
bobbyhadz.com › blog › vscode-open-settings-json
How to open settings.json in VS Code [6 Ways] | bobbyhadz
Type default settings and select Preferences: Open Default Settings (JSON). The file contains VS Code's default (unedited) settings.json file.
🌐
Reddit
reddit.com › r/vscode › i am trying to reset my settings.json file back to default settings. i did what google said, and its not resetting. any help will be appreciated.
r/vscode on Reddit: I am trying to reset my settings.json file back to default settings. I did what Google said, and its not resetting. Any help will be appreciated.
September 1, 2024 - Delete lines 5 and 6 (the blank line after the opening curly brace and the closing brace and comma without contents) then format it and it should start working. ... I wouldn't use Google 1st for anything VS Code related.
🌐
Read the Docs
vscode-docs1.readthedocs.io › en › latest › getstarted › settings
User and Workspace Settings - vscode-docs1 - Read the Docs
Please open User Settings to correct errors/warnings in the file and try again.", it means your settings.json file is ill-formed or has errors. The errors can be as simple as a missing comma or setting value. Open the Settings editor File > Preferences > Settings (Code > Preferences > Settings on Mac) (kb(workbench.action.openGlobalSettings)) and you should see the error highlighted with red squiggles.
🌐
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)). This opens a read-only file named defaultSettings.json that contains all the default settings in JSON format.
🌐
Code with Mosh
forum.codewithmosh.com › django
No settings.json - Django - Code with Mosh Forum
August 26, 2021 - Hi there, I’m at video 6 of section 2 of Django part 1 (Using the Integrated Terminal in VSCode). After I entered the interpreter path, no .vscode directory didn’t show, nor did settings.json. Can anyone tell me what we…
🌐
GitHub
github.com › microsoft › vscode › issues › 68386
Split JSON settings editor discussion issue · Issue #68386 · microsoft/vscode
February 11, 2019 - Before updating whenever I opened settings.json I had all the settings on the left hand side and those changed by me on the right hand side. Now I only have the thing, which was previously on the right. ... settings-editorVS Code settings editor issuesVS Code settings editor issuesunder-discussionIssue is under discussion for relevance, priority, approachIssue is under discussion for relevance, priority, approach
Author   dabljues