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

Issue with setting sync path #32

Open
adz1111 opened this issue Jul 12, 2018 · 5 comments
Open

Issue with setting sync path #32

adz1111 opened this issue Jul 12, 2018 · 5 comments

Comments

@adz1111
Copy link

adz1111 commented Jul 12, 2018

VSCode version: 1.25.0

CodeSync version: 2.5.3

CodeSync log: Can't find where to get this?

Issue:

When I set the external path - whatever I enter is ignored and the default seems to be used regardless, which is:

C:\Users\adam\OneDrive\Apps\code-sync

Yet on OneDrive (after quitting or exporting manually) it appends my machine's name to that folder - so the path is on Onedrive is actually:

C:\Users\adam\OneDrive\Apps-SBOOK2\code-sync

If I then try and Export All again - it ignores that path altogether and creates another new folder altogether:

C:\Users\adam\OneDrive\Apps-SBOOK2-1\code-sync

And if I do that again, yet another folder:

C:\Users\adam\OneDrive\Apps-SBOOK2-2\code-sync

...and so on (these are all empty folders). I also get an error message when I try to do the Export All, saying:

ENOENT: no such file or directory open "C:\Users\adam\OneDrive\Apps\code-sync\settings.json"

(which is the actual path that was set). So the path set doesn't seem to be the path used?

Thanks

@adz1111
Copy link
Author

adz1111 commented Jul 12, 2018

After deleting all the folders created on OneDrive, if I leave the path as the default is seems to be okay - looks like it didn't like it if the folder was already present (but still a tad annoying I can't seem to use my own path).

Now, having installed the extension on my other laptop's VSC, and keeping the default path, starting VSC nothing appears to happen, i.e. no import (the icon at the bottom is there with a tick)?

@adz1111
Copy link
Author

adz1111 commented Jul 12, 2018

Ok scrap that - other laptop had a onedrive syncing conflict from the "dodgy" folders described earlier I removed - once onedrive was "reset" on the other laptop - the sync went ahead and worked great - however, the issue with not being able to change (and persist) the path is still there (albeit more of an annoyance for me than anything too dramatic)

:-)

@golf1052
Copy link
Owner

Glad to hear that you got it almost working. There is an option to change the sync path, it's CodeSync: Set external sync path.

@adrianohf
Copy link

How to set default another path? Ex. /home/$USER/vsc_confs

@Acidham
Copy link

Acidham commented May 3, 2019

I am experiencing the same issue under macOS 10.14.4 and vscode Version 1.33.1. when I try to set external sync path to /Users/me/Dropbox/Apps/code-sync the default path with OneDrive will remain (/Users/me/OneDrive/Apps/code-sync).

Note I did not create the OneDrive directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants