golf1052 / code-sync

Sync VSCode extensions using your favorite file synchronization service (OneDrive, Dropbox, Google Drive, etc.)
https://marketplace.visualstudio.com/items?itemName=golf1052.code-sync
MIT License
34 stars 3 forks source link

Can't set path on Mac #14

Closed arpo closed 7 years ago

arpo commented 7 years ago

This extension works like a charm on my PC but not on my Mac. When restarting VS Code after instralling the extansion it say that it can't find the path in stead of prompting me to define it. When trying to set it via the command pallet it says:

Error: command 'extension.setSyncPath' not found

russellseymour commented 7 years ago

I have just installed the extension on my Mac and I was not given the opportunity to set the path either - I was not prompted. Is this in settings somewhere so I can set it manually?

golf1052 commented 7 years ago

@russellseymour Do you mean setting the VS Code path or setting CodeSync's external sync path. For VS Code - https://code.visualstudio.com/docs/setup/mac For CodeSync's external sync path in the command palette look for CodeSync: Set external sync path

vviikk commented 7 years ago

Same here. image

guillaumemolter commented 7 years ago

Same here, I installed the extension, restarted Code VS and got the error message Code was not found on your path, CodeSync is unable to activate!.

The current documentation reads: "VSCode will now prompt for the folder to where you want sync extensions. This should be a folder that syncs to your other computers.". I was not prompted and couldn't find anything in preferences to set the path.

The command you are referring to, while existing in Code throws the error described by @piggyslasher. It is also not listed in the documentation under "Commands".

Hope it helps.

Using MacOS 10.12 Code 1.9.1.

colthreepv commented 7 years ago

same on windows 10 x64 + vscode 1.10

brandoncc commented 7 years ago

I have the same problem. It seems like the commands are intermittently available, and it seems like they are only available if there is a file open in my workspace.

nazimjamil commented 7 years ago

If you're still experiencing this issue on OSX, install Code command line path and then attempt to set the path. Worked for me.. https://code.visualstudio.com/docs/setup/mac

golf1052 commented 7 years ago

Just released CodeSync 2.3.0 which allows you to use the rest of the extension even if CodeSync thinks code isn't on your path.

Also closing this issue in favor of https://github.com/golf1052/code-sync/issues/9