Ctrl+Shift+P then type "settings". https://www.screencast.com/t/eDq4yjOX Answer from Deleted User on reddit.com
🌐
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?

🌐
Reddit
reddit.com › r/vscode › how to share common settings.json file between projects/teammates?
r/vscode on Reddit: How to share common settings.json file between projects/teammates?
February 10, 2023 -

Is there a good way to keep a settings.json file in sync between different projects and between team members? I'd like to have a common "base" config that we use on all of our projects, that can then be overwritten further if needed.

What I'd like is similar to having a shared eslint config. With eslint I can publish my config as an npm module, and then just install that module and extend it in any project. If we decide to change a setting, we just update the module and its easily applied to all projects.

Anything like this for VSCode settings? I know you can make an extension pack to auto deploy common extensions for an organization, but I don't think something like that would work for sharing settings?

🌐
Reddit
reddit.com › r/vscode › settings json
r/vscode on Reddit: Settings JSON
August 13, 2018 -

Hello,

I am following online course and currently we need to change something in User Settings (JSON). The video shows (in VScode) that i need to follow path Code -> Preferences -> Settings and then press on three dots and open settings json. However, on my mac i don't have such option as these three dots.

I managed to open these settings by using keyboard: CMD + Shift + P. It opens dropdown list where i choose Preferences: Open Default Settings (JSON). This is the code which looks the same as my instructor has and i can locate code line i need to update: "code-runner.executorMap" . Learning about Virtual Environments in VSCode. However, the settings opens in read only mode and i can't edit them. How can i open them so i can edit them?

I am complete beginner, had the same problem right at the begining of this online course when we learned about debugging, but i couldn't find an answer so i decided to move on and come back when i understand more about programming itself etc. And here i am, starting to get the idea of programming, but still can't find solution to this one...

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"
}
🌐
Reddit
reddit.com › r/vscode › best settings.json configurations and must-have extensions?
r/vscode on Reddit: Best settings.json configurations and must-have extensions?
April 3, 2025 -

Hey everyone,

I’ve been using VS Code for a while, but I feel like I’m not taking full advantage of its customization options. I want to optimize my setup, so I’m looking for recommendations on:

  1. Best settings.json configurations – What tweaks have significantly improved your workflow, performance, or overall experience?

  2. Must-have extensions – Which extensions do you consider essential for productivity, debugging, or specific workflows?

I mostly work with TypeScript, JavaScript, React, Next.js, Node.js, Express, NestJS, Python, C++, .NET, and React Native, so any suggestions to those would be great. But I’m also open to general improvements that could benefit any workflow.

Would love to see what works for you all. Thanks!

Thanks in advance!

Top answer
1 of 5
41
Here is my copypasta list: Angular 17 Snippets - TypeScript, Html, Angular Material, ngRx, RxJS & F - additional snippets, always handy Angular Language Service - duh Angular Refactorizer - some easy ways to refactor some code Angular Snippets (Version 18) - more snippets, most useful ones Angular Spectator Snippets - since I use spectator for unit tests Angular Support - easily peek at component code from the template Auto Import Auto Rename Tag - easily rename the ending tag as well Batch Rename - rename multiple files in one go (I often use this for assets) Better Comments - easily see todo inside code Cline - my AI with agents (this is still better than copilot imo) Color Highlight - apply background color to a color value to show what color it is CSS Peek - peek at css properties CSS Variable Autocomplete - with tailwind very easy to see what the value will be Cucumber (Gherkin) Full Support - for my E2E tests which uses BDD - Gherkin in Playwright Document This - easily write comments for functions EditorConfig for VS Code - default editor settings around the team Error Gutters - show error icons in gutter Error Lens - show errors behind line about what is wrong ESLint - linting, use a very extended config which just autoformats my code to a standard I like to use. Improves code quality greatly Fluent Icons - nicer looking icons in the UI (not file browser) Highlight Matching Tag - default colors are a bit ugly but easily see what tag is related is just handy Highlight on Copy - flash the background for the text you copy. Makes it easy to see whether it is actually copying and that it is what you want. html-entities - easily convert html entity without looking it up HTMLHint - validate html a bit more. Just share config across team i18n Ally - preview translation strings and help adding translations Inline Parameters for VSCode - easily see what types are used for various functions so you can easily spot what you need to use or import JavaScript (ES6) code snippets - some more snippets JSON to TS - easily use an API response to build typescript interfaces Ligatures Limited - Font ligatures in VSCode make various things like !== easier to see and it just looks neat but you don't want it to replace things that shouldn't be replaced. LintLens — ESLint rules made easier - better looking popups for inspecting code. Human readable basically Markdown All in One - nice markdown tools to write it Material Icon Theme - best file icons for angular projects MDX Preview - for when you use storybook Move TS - Move TypeScript files and update relative imports - easily modify imports on files related to the file you want to move and its dependencies Multiple cursor case preserve - fantastic extension, quickly modify variable names without worrying about the upper/lowercase. Node.js Modules Intellisense - more detail about dependencies npm Intellisense - easily import items Package Json Upgrade - see what packages can be updated and click to change version Partial Diff - find differences between pieces of code quickly Path Intellisense - more path autocomplete for when you import files (like images) Playwright Test for VSCode Polacode - make neat screenshots of your code to share Prettier - Code formatter - format code though I still have most things in eslint these days Prettify JSON - easily format json to read better. Handy for debugging API calls Pretty TypeScript Errors - human readable typescript error popup Rainbow CSV - easily make css more readable Rainbow Tags - easily make tags distinguised (though default theme is trash too but it is still very nice) Rename Angular Component - easily rename without worrying about dependencies Search node_modules - quickly search node modules that are in your gitignore so this just skips opening a file browser Sort lines - sort lines quickly. Helps with readability Sort Typescript Imports - helps formatting Stylelint - lint your css styles SVG - easily preview svg and add autocomplete Tabnine: AI Chat & Autocomplete - another AI tool, fast autocomplete, faster than copilot TabOut - easily tab out of your quotes, brackets, braces Tailwind CSS IntelliSense - must have for tailwind Template String Converter - convert '' to `` when you use ${} Todo Tree - list of // TODO: stuff you used TypeScript Importer - another import thingy Vitest - my unit test tool. Beats jest and karma imo. VSCode Animations - makes vscode look cool vscode-faker - make fake data, like for testing. There's a few neat ones in there that most will probably not find and I also like to use a lot of stuff because I'm lazy, because I'm human and/or because I have high code standards. And no, my vscode performance is just fine.
2 of 5
16
I like an extension called Auto Hide (VS Marketplace Id: sirmspencer.vscode-autohide) combined with the following settings: "workbench.sideBar.location": "right" "autoHide.panelDelay": 1 "autoHide.sideBarDelay": 1 It puts the sidebar on the right and hides it when you click in the editor.
🌐
Reddit
reddit.com › r/vscode › how do you manage settings? am i the only one to find the settings ux to be an unholy nightmare?
r/vscode on Reddit: How do you manage settings? Am I the only one to find the settings UX to be an unholy nightmare?
May 31, 2023 -

I waste SO much time getting settings right in VSCode. I'm literally going back and forth between two projects right now, one where format-on-save using black is working, and another where it isn't, which have identical settings.

Yes, I know the settings or setup can't be identical. Yes, I know I'll find it in the end. But it's miserable!

Please can folks (especially people who develop across 20+ projects, including a bunch of remote containers) share any methods or insights they have for keeping settings under control?

You can safely skip the following rant, which is uncharacteristic of my normally constructive self. But rant I must.

Why I think the Settings UX is awful:

- We can modify in the UI>Settings, in three different tabs. None of which tell you the actual setting name unless you right click to export it to json.

- We can modify in multiple different JSON files, which it would be reasonable to assume would reflect the values in the UI editor. But they're not the same.

- They can also be modified by the UI as we interact with extension popups, which don't tell us which settings they're changing or where, and we don't get to approve any change.

- Modifying in the UI may or may not change the underlying JSON (eg modifying in the workspace tab immediately changes the workspace settings file, but in remote tab it doesn't).- We can modify in the raw JSON, in three places, which may or may not trigger a reload depending on which one you change, diverging the shown editor settings from what's present.

- There doesn't seem to be a simple way to see what actual settings you have in play right now, each one has to be back-calculated.

- Extra properties in settings JSON files are allowed above those provided by VSCode and the extensions, meaning that any breaking changes in required settings don't force you to update... things just vaguely stop working.

- There's an order of precedence (Default<User<Remote<Workspace, but it doesn't apply in the event of an unmodified value in one of the higher precedence ones... which would be fine (that's how inheritance works) except unmodified values are displayed in the UI exactly the same as if they're applied, meaning you have to have a deep knowledge of how these settings are applied, and be clicking all over the place, just to see what setting is currently active in the UI.

- It's not obvious how language-specific settings get overloaded. For example, does the inheritance work within nested properties like "[python]" or do we get a complete override of that property?- There's a ton of ambiguity around which settings even apply for language specific settings. For example the MS python extension thinks it can change the formatter by editing the "[python]": { "editor.defaultFormatter": "ms-whatever"} value, which completely screws over the actual "python.formatting.provider" value.

- That same ambiguity means that once you get your setup correct, extensions can't infer that so keep nagging you to make them your default, so there's always an annoying popup.

- We can also override them in .editorconfig, don't even get me started on having yet another place to define them.

🌐
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!

🌐
Reddit
reddit.com › r/vscode › why does my vscode setting screens (json mode) always show 2 panes? what is the left one for?
r/vscode on Reddit: Why does my VsCode setting screens (json mode) always show 2 panes? What is the left one for?
May 4, 2023 -

If I open vscode settings (in JSON mode), I always see 2 side-by-side panes. If I open Workspace settings, The settings in .vscode/settings.json are on the right and on the left is a list of settings with 7,757 lines. If open User settings, User settings are on the right and on the left is 7,428 lines of settings. In Youtube tutorials, others only have one pane with workspace or user settings. Why do I have two? How do I get rid of the left one? If I edit settings in the long lists on the left, does that automatically change my workspace or user settings? (is there a way to post a photo here?)

Find elsewhere
🌐
Reddit
reddit.com › r/vscode › how to set local settings.json that isn't affected by user/settings.json?
r/vscode on Reddit: How to set local settings.json that isn't affected by user/settings.json?
May 20, 2023 -

I have a folder name called menu. This is my root folder. The menu has 2 different folders, slider and dropdown.

I want to set a different indent space in the dropdown folder by using local settings.json. Any other files that outside of the dropdown folder should be affected by User/settings.json (I believe this is a global settings.json)

So, I set the indent space to 4 in dropdown/.vscode/settings.json, 2 for User/settings.json, but when I open the menu folder in VSC and create a new file in dropdown menu, the indent space still set to 2.

Picture added for understanding easily:

Are there any tips to fix this issue?

🌐
Reddit
reddit.com › r/vscode › referencing .vscode/settings.json and tasks.json of sub directories
r/vscode on Reddit: Referencing .vscode/settings.json and tasks.json of sub directories
January 18, 2024 -

I have a projects where I am writing software for an MCU in C and a UI . Lets say the folder structure looks like this.

MainProj/
    - .vscode/
        - settings.json
        - tasks.json
    - ProjMCU.X/
        - .vscode/
            - tasks.json
        - src/
    - ProjUI/
        - .vscode/
            - settings.json
        - src/

It is sometimes convenient for me to open just the ProjMCU.X folder or just the ProjUI folder, thats why I have .vscode directories in those folders. However, it is also sometimes convenient for me to put it all together and run tasks, and do editing in the super directory (MainProj). Is there a way for me to reference tasks and settings within the json files of the super directory?

🌐
Micro Focus
microfocus.com › documentation › vscode › enterprise › GUID-84045421-C70A-4583-BC59-45995A146745.html
Settings File (JSON) - Micro Focus website
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.
🌐
Reddit
reddit.com › r/vscode › workspace file vs .vscode files - where do my project settings actually go?
r/vscode on Reddit: Workspace file vs .vscode files - where do my project settings actually go?
August 3, 2018 -

Totally VSCode noob here... but in sublime, the project file is what holds all the project specific settings. In VSCode it looks like there are potentially 2 places for workspace settings: The workspace file, and settings.json (potentially others) inside the .vscode folder.

What actually goes where? On my work computer, I added some filename patterns to exclude from the side bar and vscode created a settings.json file inside a new .vscode folder. On my personal computer I tried the same thing and vscode just added those settings to my workspace file.

🌐
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.
🌐
Reddit
reddit.com › r/vscode › help with settings.json
r/vscode on Reddit: Help with settings.json
December 13, 2023 -

I'm new to VS and I'm trying to do some Java programming but my settings.json has an issue and I don't know what it is. I pasted it in online json validator and it says this: Parse error on line 25:
...ers", "java.home": "C:\Program Files\Ja
----------------------^
Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'undefined'

This is the file itself:

{

"workbench.editorAssociations": {

	"\*.ipynb": "jupyter-notebook"

},

"notebook.cellToolbarLocation": {

	"default": "right",

	"jupyter-notebook": "left"

},

"python.autoComplete.addBrackets": true,

"code-runner.runInTerminal": true,

"editor.suggest.preview": true,

"editor.inlineSuggest.enabled": true,

"editor.suggestSelection": "first",

"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",

"tabnine.experimentalAutoImports": true,

"gitlens.advanced.messages": {

"suppressGitMissingWarning": true

},

"python.analysis.completeFunctionParens": true,

"guides.enabled": false,

"kite.showWelcomeNotificationOnStartup": false,

"files.autoSave": "afterDelay",

"explorer.confirmDelete": false,

"C\_Cpp.updateChannel": "Insiders",

"java.home": "C:\\Program Files\\Java\\jdk-17.0.2"

},

🌐
Reddit
reddit.com › r/vscode › why do i only have 4 lines in settings.json?
r/vscode on Reddit: Why do I only have 4 lines in settings.JSON?
August 26, 2021 - Because you didn't override many settings. Default settings don't show up in settings.json.