Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

Workspace settings not staying in workspace json file #35

Open
codeunifier opened this issue Oct 28, 2020 · 1 comment
Open

Workspace settings not staying in workspace json file #35

codeunifier opened this issue Oct 28, 2020 · 1 comment

Comments

@codeunifier
Copy link

Adding a "profileSwitcher.storage" or "profileSwitcher.extensions" block to the workspace json file will update the main settings.json when switching to that profile. I would expect profileSwitcher settings set within in a workspace to only update the workspace json, not the main settings.json.

Doing so would allow someone to have multiple workspaces open in different windows with different profiles / themes / settings set for each window. Since this extension always edits the settings.json, it updates all open windows.

@aaronpowell
Copy link
Owner

You're right on the current behaviour, it's doing system-wide changes to VS Code, and I'm assuming that's where you're going with #36.

It should be possible to do workspace-specific settings through modifying the workspace .vscode/settings.json file, but extensions won't be possible, as extensions are managed within the VS Code host (the host OS or a remote host like Codespaces or WSL).

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants