[Feature] Local Workspace settings
See original GitHub issueI 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.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:608
- Comments:116 (21 by maintainers)
Top Results From Across the Web
User and Workspace Settings - Visual Studio Code
This feature lets you share settings, keyboard shortcuts, and installed extensions across your VS Code installs on various machines. You can enable Settings...
Read more >Decide between using a local or a server workspace
Use a local workspace; Use a server workspace; Manage project collection workspace settings for your team; Work from the command prompt.
Read more >How to enable VS Code local workspace settings?
yes a "multi-root workspace" file with only one workspace. It allows settings separate of the folder settings in . · I specifically tried ......
Read more >Customise VS Code for a project, or per language - Rob O'Leary
Workspace Settings : Apply to the current project only. They are stored in <<workspace>>/.vscode/settings.json . These settings can be useful ...
Read more >User and Workspace Settings - vscode-docs
The menu under File , Preferences provides entries to configure user and workspace settings. You are provided with a list of default settings....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
This proposal is simple and very good. Why isn’t it done already? It is taking years to do such a simple thing, this is plain bullshit.