You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to be able to configure settings that are specific to my user and to a particular workspace. So, 'local' workspace settings?
So there would be three locations for settings (for a single-folder workspace):
user settings
${workspaceRoot}/.vscode/settings.json
${workspaceRoot}/.vscode/settings.local.json
This way, I can add .vscode/settings.json to git, and share project settings such as "exclude node_modules" but I can gitignore .vscode/settings.local.json and add things specific to that project that I don't want to share, such as git autofetch.
I originally thought to suggest .vscode/settings.user.json, similar to how VS Pro handles similar configuration, but that might be confusing.
Reacted by Frank Laub, MOZGIII, Joachim Brandon LeBlanc, Alex Villarreal, Borek Bernard, Segev Finer, Jürg Lehni, Laurent Sorber, MJDEASE, Sergey Kaptur and 1038 more
Reacted by Samuel Bronson, Braden Marshall, John Papa, Mohammad javad Masoudian, Marek Kirejczyk, Sangeeth Sudheer, Daco Harkes, Adrian Jost, Juan Gonzalez, Sean Healy and 201 more
Reacted by John Papa, Tobias Hernstig, Igor Oleinikov, Marek Kirejczyk, Sangeeth Sudheer, Adrian Jost, Juan Gonzalez, Sean Healy, Oskar Olsson, Michael Popoloski and 133 more
Reacted by Stuart, Jaime Blasco, Lorenzo Farnararo, jasonAtPeloton, Martin Gill, Jacques Favreau, Guus Waals, Nathan Sarang-Walters, Jeff Thompson, Athithan and 63 more
We have released a new Multi-root Workspace Feature where you can open multiple folders in a workspace. This introduces a new abstraction in settings.
User -> Workspace -> Folder
Settings under .vscode folder are called now Folder settings in a Multi-root workspace. You also have Workspace settings those get applied for complete workspace. For more information refer here.
You can open a folder in a workspace as follows and can use Workspace settings here as user specific workspace settings for the folder.
Open an empty window and add the folder to it.
Please try it out and let us know if that solves your issue
Reacted by Lily Haverstein and Qwerty (Vítězslav Ackermann Ferko)
Reacted by TomasB, Alex, Tev, 狐狸也笨, Matthew Reome, Jett Jones, Quetzal Rivera, Roope Virtanen, Abhijit Hota, Clay Rosenthal and 17 more
Reacted by Lukas Elmer, Raz Halaly, Kevin McDonough, Matthew Keller, Artur J., William Raiford, Dmitrii Frolov, Tony Hunt, Aejay, Paul Melnikov and 1 more
Using a multi-root workspace, even with only one open root/folder, adds a layer of unnecessary complexity. I'm looking for an additional config file that works with a single-root workspace, so I can have the main workspace config file checked in to source control and the additional workspace config file ignored.
Reacted by MOZGIII, Joachim Brandon LeBlanc, Wyatt Johnson, Laurent Sorber, Valentin Hăloiu, Ed Hinchliffe, alburkerk, Hendry Sadrak, Jan Aagaard, Scott Olson and 193 more
Instead of creating new local workplace settings, perhaps keeping settings.json as the local workspace settings file and creating a new shared workplace settings file makes more sense?
That way the extension api #43226 wouldn't need to change and extensions would continue to work as they are currently written.
The only change necessary, I imagine, would be to check to see if .vscode/shared.json (or whatever) existed, load it first, then load .vscode/settings.json.
In my case, the issue is that the python extension writes the python path to settings.json which is different for every developer using virtualenv. The settings I'd like to add to version control and share between devs are files to ignore, unit testing and linting.
Reacted by Felicio, V.Heusdens, Christopher Bull, Dorian Czichotzki, Ed R2, Hezekiah M. Carty, Frederick Stark, Santtu, David, Alex Bea and 5 more
The VS Code Python extension saves python.pythonPath in the settings.json (Outside a multi-root workspace). This is a problem when you want to commit settings.json to share settings, and there are likely other settings extensions might want to customize and save per repository.
It would really make sense to add such a local settings file to solve this. Even better will be to support this for the other json files in VS Code too, allowing you to keep local tasks, debug configurations and such without editing possibly committed files.
It might require some restructuring of the way VS Code handles editing those files. Personally it would make sense for it to edit the local ones by default, requiring you to explicitly move stuff to the shared ones in order to share/commit them.
Reacted by Michael Forman, Yasufumi Shiraishi, Giacomo Lanciano, Tim Shaffer, Gwenaël Hagenmuller, Christian Esser, mhml92, Luckz, Ige, V.Heusdens and 38 more
The suggestion in #37519 to use a workspace doesn't work for all kinds of settings. For example, I can't seem to control "editor.formatOnSave" from the workspace level, only from the folder level.
Having the option to provide settings.local.json would still add a lot of advantages over workspaces.
Reacted by Ed Hinchliffe, Giacomo Lanciano, Thomas Nunes, Bruce Weng, Jamil El-Khadra, Daniel Wright, Michael Romancuk, Saucistophe, Ralf Sternberg, rittneje and 24 more
Instead of using ${workspaceRoot}/.vscode/settings.local.json, I believe these settings should be stored outside of the VCS repository. I tend to use git clean -xdf a lot to get a pristine working directory. This would remove the local settings.
My current workaround is to create ${workspaceRoot}/.git/.vscode and symlink it after I remove it by accident. This workaround works, because I believe it’s a bad practice to commit editor configurations. Since I don’t commit them, a symlink won’t override any existing files. This won’t work for merging multiple configurations.
Perhaps VSCode should just look for ${workspaceRoot}/.git/.vscode, ${workspaceRoot}/.svn/.vscode, etc. for additional settings instead.
Reacted by Carlton Gibson, Boris, Lars Munch, ryanesrapado and Bernhard Kaindl
Reacted by Jake Crosby, Christian Esser, S. Tarık Çetin, sliftist, Morgan Zolob, Jamie Stumme, Algebra970, jjspace, Saucistophe, Niklas Rosenstein and 18 more
Back in 2020 you made a proposal to try and address this via user settings, but the feedback at the time seemed to suggest that people found it over-complicated and thought it wasn't really addressing the original issue.
You left a comment more than 5 years ago that said you would review the feedback and come back after iterating on this: #40233 (comment)
It seems like mixed messaging to see other issues get closed as duplicates of this issue (giving the impression that you consider this issue to still be active) but there's been no official update from you here on what the plan is.
If UX design work is required here, that should still be manageable as a community contribution.
Anyone interested in trying to address this has no insight into what the blocking issues are and no insight into whether you're planning on revisting this.
Since you're assigned to this issue Sandeep Somavarapu (@sandy081) it would be good if could follow up in some way to make progress in addressing this, even if that means closing it as "won't fix". Alternatively, if you don't have any plans to look at this issue again then maybe it can be re-assigned to someone else?
Reacted by Jon Goodger, Yordis Prieto, Henry Brown, Ron Hines, jjspace, Adrian Brunton, gdlx, Hasan Mohsin, Stuart, Huynh Duc Duy and 9 more
I can bet, even if he responses to this, there will be no new info. "need planing", "want keep things simple" or "will be released in 10 years in next major version".
I just wonder how such unprofessionalism and incompetence could be welcomed in Microsoft. But looks like noone above is care...
Actually this is how you get paid. You say in 2018 you working on this feature and... You doing your best and trying hard.
Especially if 50% of the team is working on Ai features.... This is only way you can stay and work.
The Pull Request got reopened; so, I would ask y'all to help dogfooding what I have done thus far so avoid any inconveniences for them, so we make it as simple as it gets to get the work done.
So, please help, I tested, unit test it, but still, it is software
Reacted by Julien Villemure-Fréchette, denny, Markus Lobedann, arkkozscal, LuckyWindsck, Kravets, Meryovi De Dios, Yusuke Higuchi, Lukasz Kadlubowski, Jon Goodger and 2 more
Reacted by gdlx, Silvermind, Přemysl Karbula, Jimmy Byrd, Glatzel, Willi Eggeling, PodyNoo, koenlek, EvianZhang, denny and 5 more
So when can we expect an extra file + tab in settings -> workspace (repository/shared) ? It makes no sense why this is so hard to decide on. It's simply another level of settings/overrides.
Reacted by Henry Brown, Stefan Betz, Julien Villemure-Fréchette, antonstor, Kravets, Přemysl Karbula, Jon Goodger, Baran Basaran and roshal
We shouldn't have to choose between sharing and personalization!
This has been bugging me repeatedly, project after project. The current workflow is painful:
Set up nice default settings for other developers
Add your personal customizations
Now you have to play .gitignore games: filter out personal settings, commit, restore your settings, restore .gitignore
Other developers face the same hassle when they want to contribute shared settings while keeping their personal ones
The whole process is error-prone and frustrating
Current workarounds are all problematic:
.gitignore approach affects everyone, not just you
.git/info/exclude works but is invisible/undiscoverable to new contributors
.example files require constant manual sync and maintenance
Workspace settings force lowest-common-denominator defaults
Extensions can, in User settings, list workspaces they should apply to
Extensions workarounds are particularly clunky: Some extensions like Auto Close Tab let you specify workspace lists in User settings. Others provide for their own per-user settings. This approach is hard to discover, difficult to maintain, and only works for extensions that specifically implement these patterns.
Goal: Be able to set up a project developer-ready out-of-the-box in a way that supports both sharing and personalization.
My suggested implementation: Add a .vscode-local/ folder that layers over .vscode/, additively where appropriate in the same manner as User and Workspace (and Folder if multi-root). The default for editing settings should probably be this new layer, maybe called "Local".
Advantages of .vscode-local/ approach:
You just add .vscode-local/ to your .gitignore
It follows an existing pattern - natural extension of current hierarchy
It gives a straightforward extension to the UI leveraging existing infrastructure
Supports all file types - settings.json, tasks.json, launch.json, extensions.json, etc.
Could contribute configuration variables and environment variables for use in the Workspace layer
Possibly the least implementation effort for highest benefit
In the Multi-root case, I'd avoid complicating it with a Workspace-wide Local layer. Just layering over the Folder layer should be sufficient.
Real-world use case: Python projects where each developer has different virtual environment paths, debug configurations with personal credentials, or font/theme preferences per project.
Launch configurations are a particular pain point: These often contain personal file paths, credentials, or environment-specific settings that shouldn't be shared, but you want to provide working examples for the team. Currently there's no clean way to layer personal launch configs over shared ones.
PLEASE give this some attention, in some form.
Reacted by Christopher Carman, Hugues Verlin, Chris Bain, IT-CASADO, Jon Goodger, Elazar Cohen, Lauri Kajan, deminearchiver, Markus Lobedann, Justin Halsall and 13 more
This folder could also be named .vscode.local, because some .gitignore files include *.local for ignoring things like secrets used during local development. This way, the configuration directory would get automatically ignored in some repositories without much changes to .gitignore. And also this would not be a breaking change since currently .vscode.local is not a thing.
Reacted by jrz, IT-CASADO, Jon Goodger, deminearchiver, Markus Lobedann, Hugues Verlin, Ilya Golovin, Kravets, Baran Basaran and CaptainException
Microsoft also does something similar for their "Microsoft 365 Agents Toolkit" extension for VSCode so there is already precedent for this in their own tooling.
There we have .env.dev and .env.dev.local for example where the latter is excluded from git.
FYI, it feels like the focus is now on the new Workspace based on .code-workspace files (as per this comment) . I opened #282806 to track a similar feature request as the one discussed here but for .code-workspace.local files.
that would be such a useful feature and aligned with the conventions in other tools (.env.local, .claude/settings.local.json)
Reacted by djd0723, Rahmat Ali, Nathan Castle, Герман Аверин, Elio Struyf, Daniel Moore - Looking for Work, Christopher Buss, Osman Nuri Yıldız, Pierre Avital, Matthew Gamble and 1 more
Reacted by Ilya Golovin, Ronny Hsieh and Ibraheem Sajid
Activity
sandy081 commentedon Dec 15, 2017
Ethan Reesor (@firelizzard18)
We have released a new Multi-root Workspace Feature where you can open multiple folders in a workspace. This introduces a new abstraction in settings.
User -> Workspace -> FolderSettings under
.vscodefolder are called nowFoldersettings in a Multi-root workspace. You also haveWorkspacesettings those get applied for complete workspace. For more information refer here.You can open a folder in a workspace as follows and can use
Workspacesettings here as user specific workspace settings for the folder.Please try it out and let us know if that solves your issue
firelizzard18 commentedon Dec 15, 2017
Using a multi-root workspace, even with only one open root/folder, adds a layer of unnecessary complexity. I'm looking for an additional config file that works with a single-root workspace, so I can have the main workspace config file checked in to source control and the additional workspace config file ignored.
Aloisius commentedon Jun 8, 2018
Instead of creating new local workplace settings, perhaps keeping settings.json as the local workspace settings file and creating a new shared workplace settings file makes more sense?
That way the extension api #43226 wouldn't need to change and extensions would continue to work as they are currently written.
The only change necessary, I imagine, would be to check to see if .vscode/shared.json (or whatever) existed, load it first, then load .vscode/settings.json.
In my case, the issue is that the python extension writes the python path to settings.json which is different for every developer using virtualenv. The settings I'd like to add to version control and share between devs are files to ignore, unit testing and linting.
sandy081 commentedon Jun 11, 2018
Currently
.vscode/settings.jsonis shared as it is part of.vscodefolder. So it cannot be treated as non shareable oneborekb commentedon Jun 26, 2018
Related issue with some additional use cases: Local settings overrides (
settings.local.json) #37519segevfiner commentedon Jul 8, 2018
The VS Code Python extension saves
python.pythonPathin thesettings.json(Outside a multi-root workspace). This is a problem when you want to commitsettings.jsonto share settings, and there are likely other settings extensions might want to customize and save per repository.It would really make sense to add such a local settings file to solve this. Even better will be to support this for the other json files in VS Code too, allowing you to keep local tasks, debug configurations and such without editing possibly committed files.
It might require some restructuring of the way VS Code handles editing those files. Personally it would make sense for it to edit the local ones by default, requiring you to explicitly move stuff to the shared ones in order to share/commit them.
lehni commentedon Jul 17, 2018
The suggestion in #37519 to use a workspace doesn't work for all kinds of settings. For example, I can't seem to control
"editor.formatOnSave"from the workspace level, only from the folder level.Having the option to provide
settings.local.jsonwould still add a lot of advantages over workspaces.remcohaszing commentedon Sep 20, 2018
Instead of using
${workspaceRoot}/.vscode/settings.local.json, I believe these settings should be stored outside of the VCS repository. I tend to usegit clean -xdfa lot to get a pristine working directory. This would remove the local settings.My current workaround is to create
${workspaceRoot}/.git/.vscodeand symlink it after I remove it by accident. This workaround works, because I believe it’s a bad practice to commit editor configurations. Since I don’t commit them, a symlink won’t override any existing files. This won’t work for merging multiple configurations.Perhaps VSCode should just look for
${workspaceRoot}/.git/.vscode,${workspaceRoot}/.svn/.vscode, etc. for additional settings instead.199 remaining items
rib commentedon Oct 8, 2025
Sandeep Somavarapu (@sandy081) can you perhaps give an update on your plans with this issue?
Back in 2020 you made a proposal to try and address this via user settings, but the feedback at the time seemed to suggest that people found it over-complicated and thought it wasn't really addressing the original issue.
You left a comment more than 5 years ago that said you would review the feedback and come back after iterating on this: #40233 (comment)
It seems like mixed messaging to see other issues get closed as duplicates of this issue (giving the impression that you consider this issue to still be active) but there's been no official update from you here on what the plan is.
Closing a PR that makes a stab at addressing this by simply asserting that you'll never accept community contributions for this issue does not look good.
If UX design work is required here, that should still be manageable as a community contribution.
Anyone interested in trying to address this has no insight into what the blocking issues are and no insight into whether you're planning on revisting this.
Since you're assigned to this issue Sandeep Somavarapu (@sandy081) it would be good if could follow up in some way to make progress in addressing this, even if that means closing it as "won't fix". Alternatively, if you don't have any plans to look at this issue again then maybe it can be re-assigned to someone else?
gdlx commentedon Oct 8, 2025
Maybe we should find a way to make this feature Copilot related to allow this 8 years old 900+ 👍 request get some ❤️ ?
rutexd commentedon Oct 8, 2025
I can bet, even if he responses to this, there will be no new info. "need planing", "want keep things simple" or "will be released in 10 years in next major version".
I just wonder how such unprofessionalism and incompetence could be welcomed in Microsoft. But looks like noone above is care...
yordis commentedon Oct 8, 2025
Does anyone know how the assignment works?
I've never worked at a company where I could take 8 years doing nothing about an assigned task; it would either be closed, backlogged, or reassigned.
rutexd commentedon Oct 8, 2025
Actually this is how you get paid. You say in 2018 you working on this feature and... You doing your best and trying hard.
Especially if 50% of the team is working on Ai features.... This is only way you can stay and work.
yordis commentedon Oct 9, 2025
The Pull Request got reopened; so, I would ask y'all to help dogfooding what I have done thus far so avoid any inconveniences for them, so we make it as simple as it gets to get the work done.
So, please help, I tested, unit test it, but still, it is software
jrz commentedon Oct 16, 2025
So when can we expect an extra file + tab in settings -> workspace (repository/shared) ? It makes no sense why this is so hard to decide on. It's simply another level of settings/overrides.
BobKerns commentedon Nov 21, 2025
We shouldn't have to choose between sharing and personalization!
This has been bugging me repeatedly, project after project. The current workflow is painful:
Current workarounds are all problematic:
.gitignoreapproach affects everyone, not just you.git/info/excludeworks but is invisible/undiscoverable to new contributors.examplefiles require constant manual sync and maintenanceGoal: Be able to set up a project developer-ready out-of-the-box in a way that supports both sharing and personalization.
My suggested implementation: Add a
.vscode-local/folder that layers over.vscode/, additively where appropriate in the same manner as User and Workspace (and Folder if multi-root). The default for editing settings should probably be this new layer, maybe called "Local".Advantages of
.vscode-local/approach:.vscode-local/to your.gitignoreIn the Multi-root case, I'd avoid complicating it with a Workspace-wide Local layer. Just layering over the Folder layer should be sufficient.
Real-world use case: Python projects where each developer has different virtual environment paths, debug configurations with personal credentials, or font/theme preferences per project.
Launch configurations are a particular pain point: These often contain personal file paths, credentials, or environment-specific settings that shouldn't be shared, but you want to provide working examples for the team. Currently there's no clean way to layer personal launch configs over shared ones.
PLEASE give this some attention, in some form.
deminearchiver commentedon Nov 21, 2025
This folder could also be named
.vscode.local, because some.gitignorefiles include*.localfor ignoring things like secrets used during local development. This way, the configuration directory would get automatically ignored in some repositories without much changes to.gitignore. And also this would not be a breaking change since currently.vscode.localis not a thing.Mutantpenguin commentedon Nov 24, 2025
Microsoft also does something similar for their "Microsoft 365 Agents Toolkit" extension for VSCode so there is already precedent for this in their own tooling.
There we have
.env.devand.env.dev.localfor example where the latter is excluded from git.sebmarchand commentedon Dec 12, 2025
FYI, it feels like the focus is now on the new Workspace based on
.code-workspacefiles (as per this comment) . I opened #282806 to track a similar feature request as the one discussed here but for.code-workspace.localfiles.chore: rename `.vscode` files to `...template...`
chore: rename `.vscode` files to `...template...`
chore: rename `.vscode` files to `...template...`
mihasic commentedon Jun 3, 2026
that would be such a useful feature and aligned with the conventions in other tools (.env.local, .claude/settings.local.json)