- rsync your workspace folder to remote server
Make sure you have rsync installed on your system and it's added to PATH
synccode use ssh to sync your code so you should insure that you can access your remote server
just by ssh username@a.b.c.d without password
This is very important,so you should make sure all things above.
This extension contributes the following settings:
synccode.host: (string | required) the host of your remote server,the format must be the same asusername@a.b.c.d:/path/to/remote/dirsynccode.experiment: (boolean | defaultfalse) iftrue,the experiment function will be used,it's unstable now.synccode.debug: (boolean | defaultfalse) iftruethe synccode will output logs,in most cases you will never use this functionsynccode.exclude: (array | default[".git/*"]) files that you want exclude themsynccode.delete: (boolean | defaultfalse) settrueto add--deletein rsync command
- open a directory
- set
synccode.host,clickCode->preference->workspace settingsto open the configuration view, input"synccode.host": username@yourIP:/path/to/remote/dirin the right panel, when you inputsynccodethere will be autocomplete. shift+⌘+Pand inputsynccodeto enable
If you have any problem welcome to create an issue
- Initialize the plugin
- add debug mode
- add exclude configuration
- add non deleting mode
- beautify homepage
- add LICENSE
- add configuration description in README.md
- maintain directory tree in memory to reduce the transfer bytes
Enjoy!