Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting doesn't seem to work across profiles #175427

Closed
eccentricOrange opened this issue Feb 25, 2023 · 6 comments
Closed

Setting doesn't seem to work across profiles #175427

eccentricOrange opened this issue Feb 25, 2023 · 6 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) user-profiles User profile management

Comments

@eccentricOrange
Copy link

eccentricOrange commented Feb 25, 2023

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.75.1
  • OS Version: Windows 11 Pro 22H2, build 22621.1265

Steps to Reproduce:

  1. Create two profiles (let's say "Default", and "C/C++")
  2. Open a Devcontainer using the profile.
  3. Attempt to use a setting set there.

Expectation: All settings made in the Windows settings file would work in each profile, unless there is an override.

This is my local settings file (C:/Users/username/AppData/Roaming/Code/User/settings.json).

{
    "editor.inlineSuggest.enabled": true,
    "files.autoSave": "onFocusChange",
    "window.restoreWindows": "none",
    "editor.multiCursorModifier": "ctrlCmd",
    "remote.downloadExtensionsLocally": true,
    "remote.SSH.localServerDownload": "always",
    "[python]": {
        "editor.formatOnType": true
    },
    "dev.containers.defaultExtensions": [
        "GitHub.copilot",
        "GitHub.vscode-pull-request-github",
        "VisualStudioExptTeam.vscodeintellicode",
        "VisualStudioExptTeam.intellicode-api-usage-examples",
        "mutantdino.resourcemonitor"
    ],
    "git.enableCommitSigning": true,
    "git.autofetch": true,
    "git.fetchOnPull": true,
    "git.autoStash": true,
    "editor.wordWrap": "on",
}

Profile settings.json:

{}

In my Devcontainer, most of these settings don't migrate and have to be made again in the profile settings. There is no conflicting entry in the profile settings. As an example, files.autoSave doesn't work.

@eccentricOrange eccentricOrange changed the title Setting doesn't seem to work across profiles. Setting doesn't seem to work across profiles/Devcontainers Feb 25, 2023
@eccentricOrange eccentricOrange changed the title Setting doesn't seem to work across profiles/Devcontainers Setting doesn't seem to work across profiles Feb 25, 2023
@eccentricOrange
Copy link
Author

I just tested with a profile in the local system (not a Devcontainer), it still doesn't use global settings.

@sandy081 sandy081 added the user-profiles User profile management label Feb 27, 2023
@sandy081
Copy link
Member

/duplicate

#156144

Settings from Default profile and those from custom profile are not related and not extended.

@vscodenpa vscodenpa added the *duplicate Issue identified as a duplicate of another issue(s) label Feb 27, 2023
@vscodenpa
Copy link

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!

@vscodenpa vscodenpa closed this as not planned Won't fix, can't repro, duplicate, stale Feb 27, 2023
@eccentricOrange
Copy link
Author

@sandy081 how would you recommend I "synchronize" settings like autosave? Because this completely breaks my workflow

@sandy081
Copy link
Member

sandy081 commented Mar 2, 2023

At present, you have to update this setting in all profiles. Please check #156144 issue and comment there if it covers your scenario.

@eccentricOrange
Copy link
Author

eccentricOrange commented Mar 2, 2023

Alright, thank you! I'd already commented there (sorry if I caused any annoyance; it's my first time dealing with issues on a large repo)

@github-actions github-actions bot locked and limited conversation to collaborators Apr 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) user-profiles User profile management
Projects
None yet
Development

No branches or pull requests

3 participants