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

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

Closed
thyeun opened this issue Nov 26, 2015 · 9 comments
Closed
Assignees
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)

Comments

@thyeun
Copy link

thyeun commented Nov 26, 2015

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.

@Tyriar
Copy link
Member

Tyriar commented Nov 26, 2015

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.

@thyeun
Copy link
Author

thyeun commented Nov 26, 2015

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/

@Tyriar
Copy link
Member

Tyriar commented Nov 26, 2015

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

@thyeun
Copy link
Author

thyeun commented Nov 26, 2015

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

@Tyriar
Copy link
Member

Tyriar commented Nov 26, 2015

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.

@Tyriar
Copy link
Member

Tyriar commented Nov 26, 2015

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).

@thyeun
Copy link
Author

thyeun commented Nov 26, 2015

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). =.=

@joaomoreno
Copy link
Member

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

@jrieken jrieken added the *question Issue represents a question, should be posted to StackOverflow (VS Code) label Nov 26, 2015
@petsuter
Copy link

petsuter commented Oct 19, 2017

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

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)
Projects
None yet
Development

No branches or pull requests

6 participants
@joaomoreno @jrieken @thyeun @Tyriar @petsuter and others