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
{{ message }}
Repository navigation
Provide support to synchronize settings across machines #2743
There are quiet some extensions out there to handle setting synchronization between multiple computers. And in my opinion they are very important: Since vscode is very customizable with settings, keyboardshortcuts and extension it is very hard to synchronize those things between multiple workstations. And all those extensions are not really clean solutions, because vscode does nearly nothing to support them (for example the paths vscode uses are not exposed, see #2741).
So here some ideas to make synchronization clean and extensible:
add a contribution point for synchronization extensions
Those extensions should not have to gather all the files that have to be synced. vscode should do this and then pass them to the extensions
Such an extension's job is only to upload/download the files, passed to them (so we can have the gist upload/svn upload/git repo upload/dropbox/filesystem/onedrive/ftp/other services.
Or maybe gather all settings into one big json object and pass that.
Support versioning and non versioning extensions
add a remote_settings.json to build on top of the workspace-settings/user-settings stack.
allow automatic and user triggered synchronization
Ok... just some ideas 😄
Reacted by Mem Maina, Lars Fernhomberg, Chris Bailey, Muma, Robert R., Michael Stillwell, ebugusey, Alex Perovich, Oleg Mishenkin, Kevin Xiong and 736 more
Reacted by jon lepage, Dener Rocha, Alex Bush, Matthew, Ryota Murakami, 1muen, arianrhodsandlot, Ivan Augusto, Technetium1, Escape0707 and 3 more
Reacted by Sai Kiran, Yurii Holskyi, Suresh, Sondre Sørbye, bhack, Jasmine Johnson, Rohan Gautam, Serhii Rykov, Jesse Mazzella, FlyingHighUp and 21 more
Reacted by Bui Khuong Duy
Reacted by Jakub Čábera, Sebastián Lorca Delgado, Niklas Weimann, FERNANDO TORRES, Takashi Kawasaki, Suraj Kumar Shrestha, Andrew, Shawn McElroy, Dugagjin Ramani, Diogo Lemos and 98 more
Reacted by Sai Kiran, Yurii Holskyi, Suresh, Thanos Papathanasiou, bhack, Jasmine Johnson, Rohan Gautam, Serhii Rykov, Adriano Skroch, Said El Dah and 26 more
Reacted by Sai Kiran, Roman Krasikov, Sergio Nesbitt, Jasmine Johnson, Rohan Gautam, Serhii Rykov, Adriano Skroch, Said El Dah, jon lepage, Matthew and 12 more
This is my solution for syncing keybindings and settings on Linux and Windows if you're interested. I haven't looked too deeply at doing it with extensions yet but I did file #691 some time ago to help with this.
Felix Becker (@felixfbecker) Extensions are however one of those things that doesn't version control. Neither is keymap.
Reacted by Art Nitipon Suratwisit, Peter Suter, Johnny V, Kemuel, Sumit Kumar, Matthew Frost, Tyler Eich, Philipp Weißmann, Oliver Sayers, Brad Purchase and 31 more
Sebastian Holmqvist (@csholmq) That is a seperate issue though. For example, there could be a .vscode/extensions.json that specifies which extensions should be installed for this project, like editorconfig or a specific debug adapter, with a semver version constraint like a package.json.
Reacted by Johnny V, Shawn McElroy, Philipp Weißmann, Tomáš Hübelbauer, Oliver Sayers, Brandon Patram, Alex Burgel and Alejandro Avilés
Reacted by King Lew, Christopher Carr, igormap42, fallen90, Adam Griffin, Rohan Gautam, Facottons, Aravind Sagar, Wayne Ritchie, Somo and 9 more
Reacted by Ron Waldon-Howe, Shan Khan, roshad根影, Christopher Carr, Khizar Iqbal, Jan Killian, Jeroen Schäfer, Alex Rakov, Cyrus Frost and Thomas Hauschild
Reacted by igormap42, CrankyWebDev, Matthew and Aleksandr Mironov
It might also be nice to install an extension once on one machine, and have your other machines either prompt or automatically install the same extension everywhere else.
Atom had an online package browser with "stars", and there was a command you could run to install everything you'd starred. Still not automatic, but it was a start.
I know others might object, but I personally have no problem having to log in to VSCode with my Microsoft account once per machine, if it facilitated this level of convenience. Maybe a synchronisation framework or something could be offered, so that provider-specific extensions could implement authentication and cloud-persistence (e.g. one for Microsoft, one for Google Drive, Dropbox, etc).
Reacted by Gerard Reches, Selcuk Culha, Christopher Carr, Trailstrider, Michael Stelly - Founder, Chaz, Jesse Mazzella, Michael Lockhart, Cindy, Chriss Santi and 5 more
I wrote an extension a while ago (here, also hasn't been updated in a while) that tried to help sync extensions between computers using file synchronization services. Originally I only supported syncing themes because syncing extensions seemed somewhat messy.
I think this should be the right way to maintain extensions between computers. Keep a list of what extensions are installed where, be able to pick and choose what extensions should be installed on which computer and then only manage syncing settings for those extensions. I assume the recommended way for extensions to manage settings is through this?
Reacted by Shan Khan, Wahidyan Kresna Fridayoka, Jan Killian, Jeroen Schäfer, Facottons, Alex Rakov and Thomas Hauschild
Reacted by igormap42, Bharathan Kumaran, Matthew, Aleksandr Mironov, Wayne Ritchie, Somo, Oliver THEBAULT, Andy Earnshaw, j-hnny, Towry Wang and 1 more
Very much agree with you, Add features--Account & Synchronization, handling setting synchronization and extensions synchronization(Mark extensions owned), what will make it much easier to install and to synchronize VS code between multiple computers.
Another extensions that syncs extensions: https://marketplace.visualstudio.com/items?itemName=golf1052.code-sync
Elliot Labs LLC (@elliot-labs) and Brian Hauger (@haugerbr)
thanks,
I also don't know that gist is not private
so now I am thinking of writing some scripts for uploading settings to the cloud
and one script to download and install
I have also build a program that shows me scripts on startup
so I can put those script in there.
I agree with Escape0707 (@escape0707). Vs code insiders now has settings sync that will soon hit the public release. This is effectively a non problem and has been addressed.
Sandeep Somavarapu (@sandy081) is having seperate profiles within the same account a feature that has been requested already? For example, if I want to use my github account for the authentication method but want seperate work/personal profiles. For now I use seperate accounts which I actually like better for personal/work separation but I can see a use case where people want multiple personal profiles. I will open up a feature request for it if it does not already exist.
Please join me in a nice round of applause and show of great appreciation for adding this feature (as of 1.48). I am thrilled and elated! Thank you so much VS Code team!! 👏🏼👏🏼👏🏼
However, if you could allow me just two minor gripes:
I seem to have to re-authenticate after some very short timeout (a day perhaps?) and a restart of VS Code.
Authentication takes place in a browser, and since I have tabitis and sometimes don't have my browser open, this becomes somewhat... irksome.
Activity
Tyriar commentedon Feb 5, 2016
Related: #679
This is my solution for syncing keybindings and settings on Linux and Windows if you're interested. I haven't looked too deeply at doing it with extensions yet but I did file #691 some time ago to help with this.
csholmq commentedon Feb 9, 2016
The plugin Sync Settings for Atom uses GitHub Gist to backup/sync:
Atom also supports starring packages directly in Github and then easily install them using
apm stars --user thedaniel --install.felixfbecker commentedon Feb 21, 2016
Imo this is a pretty low priority because most of the time settings are overwritten by workspace settings that are synced with version control anyway.
csholmq commentedon Feb 21, 2016
Felix Becker (@felixfbecker) Extensions are however one of those things that doesn't version control. Neither is keymap.
felixfbecker commentedon Feb 21, 2016
Sebastian Holmqvist (@csholmq) That is a seperate issue though. For example, there could be a
.vscode/extensions.jsonthat specifies which extensions should be installed for this project, like editorconfig or a specific debug adapter, with a semver version constraint like a package.json.egamma commentedon Feb 21, 2016
This is not related to the original API request raised in this issue, but there is a sync extension that is using Gists. https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync
csholmq commentedon Feb 22, 2016
Erich Gamma (@egamma) Exactly the functionality I sought after. But as Felix Becker (@felixfbecker) mentioned, perhaps this issue is a separate one.
jokeyrhyme commentedon Mar 14, 2016
It might also be nice to install an extension once on one machine, and have your other machines either prompt or automatically install the same extension everywhere else.
Atom had an online package browser with "stars", and there was a command you could run to install everything you'd starred. Still not automatic, but it was a start.
I know others might object, but I personally have no problem having to log in to VSCode with my Microsoft account once per machine, if it facilitated this level of convenience. Maybe a synchronisation framework or something could be offered, so that provider-specific extensions could implement authentication and cloud-persistence (e.g. one for Microsoft, one for Google Drive, Dropbox, etc).
golf1052 commentedon Apr 6, 2016
I wrote an extension a while ago (here, also hasn't been updated in a while) that tried to help sync extensions between computers using file synchronization services. Originally I only supported syncing themes because syncing extensions seemed somewhat messy.
I think this should be the right way to maintain extensions between computers. Keep a list of what extensions are installed where, be able to pick and choose what extensions should be installed on which computer and then only manage syncing settings for those extensions. I assume the recommended way for extensions to manage settings is through this?
felixfbecker commentedon Apr 6, 2016
https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync syncs extensions very well
ToMakeSense commentedon Nov 21, 2016
Very much agree with you, Add features--Account & Synchronization, handling setting synchronization and extensions synchronization(Mark extensions owned), what will make it much easier to install and to synchronize VS code between multiple computers.
Another extensions that syncs extensions: https://marketplace.visualstudio.com/items?itemName=golf1052.code-sync
130 remaining items
pycharmer1221 commentedon Jul 18, 2020
Elliot Labs LLC (@elliot-labs) and Brian Hauger (@haugerbr)
thanks,
I also don't know that gist is not private
so now I am thinking of writing some scripts for uploading settings to the cloud
and one script to download and install
I have also build a program that shows me scripts on startup
so I can put those script in there.
escape0707 commentedon Jul 18, 2020
Guys,
vscode-insiders's sync isn't an option?jakobhviid commentedon Jul 18, 2020
I agree with Escape0707 (@escape0707). Vs code insiders now has settings sync that will soon hit the public release. This is effectively a non problem and has been addressed.
haugerbr commentedon Jul 19, 2020
Escape0707 (@escape0707) Jakob Hviid, PhD (@jakobhviid) I'm aware of it and it's exactly what I'm planning on using once it moves to the normal VSCode builds. For now I'm still using settings sync while I wait.
Update VisualStudioCode.gitignore
sandy081 commentedon Aug 17, 2020
Settings Sync (preview) feature has landed into stable (1.48), hence closing this.
Please create separate issues for other requests or bugs.
haugerbr commentedon Aug 17, 2020
Sandeep Somavarapu (@sandy081) is having seperate profiles within the same account a feature that has been requested already? For example, if I want to use my github account for the authentication method but want seperate work/personal profiles. For now I use seperate accounts which I actually like better for personal/work separation but I can see a use case where people want multiple personal profiles. I will open up a feature request for it if it does not already exist.
sandy081 commentedon Aug 17, 2020
Please go through the existing settings sync issues and create a one if does not exist.
haugerbr commentedon Aug 17, 2020
Found it. Tagging it here in case anyone reading this thread is also interested in tracking it #92393
Chiramisudo commentedon Sep 15, 2020
Please join me in a nice round of applause and show of great appreciation for adding this feature (as of 1.48). I am thrilled and elated! Thank you so much VS Code team!! 👏🏼👏🏼👏🏼
However, if you could allow me just two minor gripes:
sandy081 commentedon Sep 15, 2020
Thanks.
I would suggest to open new issues for the problems you are facing with steps to repro.