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
This extension uses private GitHub gists to sync settings, this means that there can be multiple gists for multiple settings "profiles". This is super handy for example where I have settings that I use across machines at work, and different settings that I use across personal machines.
Does, or can, the settings sync feature support similar?
Thanks!
Reacted by Alexey Murz Korepov, mhanuszh, Ahmed Mohamed Elfateh, Andrii Dieiev, Krittin Phornsiricharoenphant, Charles de Jager, Jan Dittrich, Yu Zhang, springcomet, Emmanuel Pilande and 9 more
Sure, different settings are useful in cases where:
Work may have internal services instead of the generally available ones I use for my own work (e.g. SonarQube, PMD rule-sets, etc), so extensions and extension settings will be different
Common settings that differ, I need to use for work but that I don't want to use at home (e.g. eg layout may change due to different screen count, size and resolution).
Extensions that are useful in one setting but not in the other (e.g. I might use Java and Maven extension set at work, but at home it is just unused bloat; and vice-versa for the C set).
Or even down to the level of the version of or permissions for Windows (e.g. one environment may allow and have latest update for WSL, other environment does not allow WSL, or is held back version of windows meaning WSL is not of required version)
I'll add my own use-cases here too as this is a feature that is very important to me (and it made the Settings Sync extension less useful until support for multiple gists was added).
As wolf99 (@wolf99) mentioned, there are scenarios where one machine (or one version of Code, say Insiders vs regular) needs to have different settings and extensions than another.
For instance, I have different extensions installed across my Macs and my PCs (similar to what Chris mentioned in #88625) and my work-around is to have a different sync profile/gist for Mac and PC.
In addition to workspace settings for a project, I sometimes find it better to have a separate "profile" with a set of included/configured extensions for a specific purpose. That way, I can avoid extension bloat (as wolf99 (@wolf99) mentioned) when it is only needed in certain scenarios.
I like to have work/personal profiles of specific settings and extensions. There are some extensions I only use at work, as an example.
I have a "blank" profile which is useful when doing in-person or online demos. Yes, I can just use a portable version of VS Code or delete my settings file altogether, but when I'm doing a training or workshop, I want to have the same experience as the class and go through the process of setup together. Having this "blank" profile is really useful in this context.
There are sometimes differences in extension settings based on the context of where it is being used.
I like to keep different extensions and settings for VS Code vs VS Code Insiders, as I often use Insiders to test more bleeding-edge things and know stuff can break.
We discussed about this partially (especially from insiders vs stable perspective) and decided not to separate them - #89066. Recommendation was to use different user accounts/profiles in such cases.
We discussed about this partially (especially from insiders vs stable perspective) and decided not to separate them - #89066. Recommendation was to use different user accounts/profiles in such cases.
But:
By default, the VS Code Stable and Insiders builds use different Settings Sync services and so do not share settings. You can sync your Insiders with Stable using the Settings Sync: Select Service... command to select the Stable sync service. The Select Service command is only available in VS Code Insiders.
Akito (@theAkito) we changed our mind so we have a completely separate service with a separate backing database to roll changes out to first. Switching to stable is available so you can still sync between stable and insiders as we know that's something people want to do.
Container image repositories. At work we, and I imagine most orgs that develop proprietary containerised s/w, use internal image repos rather than public ones. This means settings such as repo URL and credentials are different, specifying them all on the command line every time in either work or home reduces the usefulness of both settings sync and also extensions that would use such settings.
With the release of WSL 2, the gap between settings in vscode that work for for using WSL 2 vs WSL 1 (on held back installs of Windows) is now getting quite noticeable.
Recently, I am having the same issues in VS Code extension as well. It was really troublesome if I switch javascript project to Java project or vice versa. I need to look around for the extension, enable and disabled it. So troublesome.
Currently, my solution is using vs code for javascript projects and IntelliJ IDEA for Java projects. Yeah, I know, it is an ugly solution but it saves my time.
Is there any update on multiple settings profiles? 😄
Reacted by wolf99, thetechoddbug (José María Gutiérrez) and Winrey
Reacted by Joel Watson and thetechoddbug (José María Gutiérrez)
Activity
Tyriar commentedon Mar 11, 2020
wolf99 (@wolf99) can you give an example of what sort of profiles you use and how they differ (just settings, or extensions too)?
wolf99 commentedon Mar 17, 2020
Sure, different settings are useful in cases where:
filmgirl commentedon Mar 18, 2020
I'll add my own use-cases here too as this is a feature that is very important to me (and it made the Settings Sync extension less useful until support for multiple gists was added).
As wolf99 (@wolf99) mentioned, there are scenarios where one machine (or one version of Code, say Insiders vs regular) needs to have different settings and extensions than another.
For instance, I have different extensions installed across my Macs and my PCs (similar to what Chris mentioned in #88625) and my work-around is to have a different sync profile/gist for Mac and PC.
sandy081 commentedon Mar 19, 2020
We discussed about this partially (especially from insiders vs stable perspective) and decided not to separate them - #89066. Recommendation was to use different user accounts/profiles in such cases.
wolf99 commentedon May 24, 2020
Hi Sandeep Somavarapu (@sandy081), Daniel Imms (@Tyriar) as #89066 has been closed with a resolution that does not facilitate this aspect (nor does it seem to rule it out), can this issue be considered again?
ArturoDent commentedon Jun 9, 2020
For similar, see Profile Switcher extension.
theAkito commentedon Aug 21, 2020
But:
From https://code.visualstudio.com/docs/editor/settings-sync#_syncing-stable-versus-insiders
Tyriar commentedon Aug 24, 2020
Akito (@theAkito) we changed our mind so we have a completely separate service with a separate backing database to roll changes out to first. Switching to stable is available so you can still sync between stable and insiders as we know that's something people want to do.
wolf99 commentedon Sep 1, 2020
Two more data points on this:
lawweiliang commentedon Aug 11, 2021
Recently, I am having the same issues in VS Code extension as well. It was really troublesome if I switch javascript project to Java project or vice versa. I need to look around for the extension, enable and disabled it. So troublesome.
Currently, my solution is using vs code for javascript projects and IntelliJ IDEA for Java projects. Yeah, I know, it is an ugly solution but it saves my time.
Is there any update on multiple settings profiles? 😄
Tyriar commentedon Oct 11, 2021
I think this request is captured entirely within #116740
/duplicate
wolf99 commentedon Oct 11, 2021
If anything I would call that one a duplicate of this 😄
Tyriar commentedon Oct 11, 2021
Yeah this was first but that one consolidates other related issues and has some ux explorations.