Skip to content

Add user related workspace settings #260267

Closed as not planned
Closed as not planned

Description

@NCC1701M

Currently, VSCode only supports the settings.json file per workspace. This is fine if you are working on a project alone. But when working on projects as a team, different settings may be necessary for each team member, which are not necessary for the other team members. For example, one team member may need certain extensions that must be configured accordingly, but whose settings may not be necessary or may even be incorrect for the other team members because they are working on other areas of the project.

It should be possible to create a user-defined settings.json file, e.g., settings.user.json. This can then be excluded from the repository via .gitignore, while the settings.json file remains in the repository and controls the general workspace settings.

Activity

  1. added
    info-needed
    on Aug 12, 2025
  2. Yoyokrazy commented on Aug 12, 2025

    @Yoyokrazy
    Collaborator

    Maybe I'm misunderstanding the question here, but isn't this what profiles + settings accomplishes? You would define all of your personal settings there and then the settings which are relevant to your entire team/project would be in the workspace folder.

  3. NCC1701M commented on Aug 13, 2025

    @NCC1701M
    Author

    As far as I know are profiles also global. So the Profile "Abc" would have the same settings and stuff whenever I select it. What I mean are very specific settings for one workspace but not only for the workspace they are also specific for the current user.

  4. Yoyokrazy commented on Aug 13, 2025

    @Yoyokrazy
    Collaborator

    Ah okay, but then isn't it somewhat viable to have multiple niche profiles? Since you can tie profiles to workspaces/folders through the profile editor, you could duplicate your "base" profile and then change it's settings per workspace, then it would automatically be loaded when you switch to the given workspace it was set up for.

    I think it's unlikely we add another explicit json file within .vscode/, but if my above suggestion doesn't work I can label this as a feature request and see if we get the community support for it

  5. NCC1701M commented on Aug 14, 2025

    @NCC1701M
    Author

    Well yeah I could create a profile for a specific dev container but in my opinion that's a little overhead when I just want to set one or two settings for this workspace. I still want to use my default settings so I have to copy them from my default profile to my "dev container" profile and I have to keep them in sync.

    It would be much easier if I could simply create a settings.user.json file, add my two or three settings and that's it.

    And I tried to create a profile for my dev container on windows and every time deleted my dev container and recreated it, it switched back to the default profile instead of the "dev container" profile although the old an the new container where exactly the same. They had the same folder structures and everything. And I assigned the workspace folder within the container to the profile. The problem could be that the default profile had the same folder assigned but I couldn't delete it there. But that's probably another issue. Because it worked fine on Linux.

  6. Yoyokrazy commented on Aug 14, 2025

    @Yoyokrazy
    Collaborator

    Gotcha, I see what you're saying. I'm going to defer to Sandeep on this one who owns that space.

    Sounds like there is another issue with the profiles + dev container experience, but I'm not sure where that problem necesarily lies in ownership. Might end up being a separate issue/bug in addition to this feature req.

  7. added
    config
    on Sep 12, 2025
  8. sandy081 commented on Sep 12, 2025

    @sandy081
    Member

    /duplicate

    #40233

  9. added
    *duplicate
    on Sep 12, 2025
  10. vs-code-engineering commented on Sep 12, 2025

    @vs-code-engineering
    Contributor

    Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.

    Happy Coding!

  11. locked and limited conversation to collaborators on Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*duplicateconfiginfo-needed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions