Sign in
Your Position: Home >Beauty & Personal Care >Fastest Way To Open settings.json In VSCode (Where is VS Code's settings file?)

Fastest Way To Open settings.json In VSCode (Where is VS Code's settings file?)

Feb. 04, 2024
  • 367
  • 0
  • 0

Fastest Way To Open settings.json In VSCode

viewed 44.8K times

› vscode › where is settings.json file in VSCode

Don't get me wrong. VSCode is an amazing editor.

But it feels a bit all over the place, when it comes to finding settings files. So I created this page to show you how to open settings.json (the main settings file in VS Code) fast.

Visual Studio Code stores its editor settings in a JSON file. JSON is JavaScript Object Notation format. If you program in JavaScript you already know what it is.

How To Open settings.json file in VS Code?

This is the fastest way to open settings.json file in Visual Studio Code.

First, open User Settings page:

Press Ctrl + , (comma) on Windows, or...

Press ⌘ + , (comma) on Mac.

To open settings.json file from VSCode UI do the following:

  1. Go to File menu.
  2. Select Preferences.
  3. Then select Settings.
  4. Click on small settings.json file icon in upper right corner.

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:

Image: fastest way to open settings.json is through this button.

There is another way to open settings.json file in VSCode. But it's not as intuitive, and you have to do a lot of typing and clicking. It's explained in next section:

Where is settings.json file in Visual Studio Code?

To open VSCode's settings.json file first open Command Palette:

Press Ctrl + Shift + P on Windows or...

Press ⌘ + shift + P on Mac

Type settings.json into command palette and press Enter.

This opens Command Palette in VSCode, which is an input box. Typing into it will cause a the menu show a list of drop down items relevant to your search query.

Type settings.json and click on one of the options on drop down.

(You can also open defaultSettings.json file here.)

Suggested reading:
10 Things to Consider When Buying Face Foundation
The 9 Best Full-Coverage Foundations of 2024, Tested by Byrdie
Visual Studio Code Frequently Asked Questions
What foundation do professionals use?
Here’s Why You Should Be Using Lip Oil Instead of Lip Gloss
RUSK ELIMIN8 COLOR CORRECTOR
How are new cosmetics developed?

From now on, your settings.json file will be open in one of the tabs. You can right click on it and "pin" it to the tabs bar, to make sure it can be easily found during current session.

How to reset settings.json to default?

The defaultSettings.json file is read-only.

You can use it to reset your current VSCode settings.

Just copy and paste it into your settings.json

The end.

How To Open settings.json file in VS Code on Windows 7, 10 or 11?

If you're on Windows this video is for you.

How To Open settings.json file in VS Code on Mac?

Here's a brief video explaining how to open the settings file on a Mac.

To open the User settings:

  • Open the command palette (either with F1 or Ctrl+Shift+P)
  • Type "open settings"
  • 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.

Fastest Way To Open settings.json In VSCode (Where is VS Code's settings file?)

How to open Visual Studio Code's 'settings.json' file

Suggested reading:
How do you develop cosmetics?
What is the best for sparse eyebrows?
How to do eyebrows when you barely have any?
Eyeliner permanent makeup: Pros and cons & Types
How to Save Money on Beauty Products for the Big Day and Beyond
Questions You Should Know about Black Liner
7 Tips to Help You Choose the Right Lipstick

Comments
Comments

0/2000

Get in Touch
Guest Posts