Issue with setting sync path
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
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)?
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)
:-)
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.
How to set default another path? Ex. /home/$USER/vsc_confs
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.