Skip to content

possible to make all the extension sync with one drive/dropbox/google drive? #679

Closed

Description

@thyeun

want to request a features to sync all the extension into cloud drive, meaning that when changing a new PC or new device, all the extension from the previous PC can be easily get back, no need to be re-install all the extension again.

Activity

  1. Tyriar commented on Nov 26, 2015

    @Tyriar
    Contributor

    Some things that people do to accomplish extension/settings sync with other editors:

    • Copy extensions to Google Drive and then symlink the directory to the config dir (~/.vscode/extensions)
    • Setup extensions in your dotfiles

    These are a little harder to automate on Windows though.

  2. thyeun commented on Nov 26, 2015

    @thyeun
    Author

    i'm not sure how to make it work on VS code, but for sublime text 2, can use the below line to make it work, for sync with dropbox.

    ln -s /Users/yeun/Dropbox/Packages /Users/yeun/Library/Application\ Support/Sublime\ Text\ 2/

  3. Tyriar commented on Nov 26, 2015

    @Tyriar
    Contributor

    Should be just a matter of finding the config path on your OS, try:

    • /Users/yeun/Library/Application\ Support/vscode/
    • /Users/yeun/.vscode/
    • or similar
  4. thyeun commented on Nov 26, 2015

    @thyeun
    Author

    thanks, will try it out on mac and windows, see either it possible to make it work!!

  5. Tyriar commented on Nov 26, 2015

    @Tyriar
    Contributor

    For Windows 10 the extensions are located in C:\Users\<user>\vscode\extensions, and the settings are located in C:\Users\<user>\AppData\Roaming\Code\User. Not sure about mac.

  6. Tyriar commented on Nov 26, 2015

    @Tyriar
    Contributor

    Also, I sync the settings in my dotfiles like this, I haven't looked at syncing extensions yet, I'm hoping it will be possible eventually to do it with a series of calls to vsce like you can with apm install for Atom (like this).

  7. thyeun commented on Nov 26, 2015

    @thyeun
    Author

    yup, and one more things, the dropbox folder should in the correct path too, i mean in windows environments (i'm testing it on dropbox). =.=

  8. joaomoreno commented on Nov 26, 2015

    @joaomoreno
    Contributor

    This doesn't seem to be an inherent issue with Code. But I'm glad people are finding solutions.

  9. added
    *question
    on Nov 26, 2015
  10. petsuter commented on Oct 19, 2017

    @petsuter

    On Windows start cmd.exe as Administrator and run:

    • mklink /D C:\Users\YOURNAME\AppData\Roaming\Code\User C:\Dropbox\CloudSettings\VSCode\User
    • mklink /D C:\Users\YOURNAME\.vscode\extensions C:\Dropbox\CloudSettings\VSCode\extensions
  11. locked and limited conversation to collaborators on Nov 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*question

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions