Project Sync
A Sublime Text 2/3 plugin to enable the syncing of local files to another location (remote or local).
Details
Installs
- Total 3K
- Win 2K
- Mac 916
- Linux 608
Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Description
A Sublime Text 2/3 plugin to enable the syncing of local files to another location (remote or local).
Tested and verified working on Windows and Ubuntu, realistically it should work on most any OS, there is nothing really system-specific about this plugin.
Requires scp and rsync binaries.
Installation
The recommended method is by using Sublime Package Manager See Here (the package name is 'Project Sync'). Otherwise, you can clone the repository yourself.
- cd into your Sublime packages directory.
- run: git clone https://github.com/GentlemanJ/devsync.git
Usage
There is a dev_sync command that will push your current project directory (as specified by the “source” path in the settings file) to the specified destination. You can Run this by mapping a key-stroke (described below) or by right-clicking on a file and selecting 'Project Sync: Perform Full Project Sync'. This is only required once per project, after that the individual files will transfered be on save.
Key Mapping
There is only one command that is called via key-stroke, the dev_sync command.
Add something like this to your keymap:
#!JSON
{ "keys": ["alt+s"], "command": "dev_sync" }
Settings
Settings Can be accessed through 'Preferences -> Package Settings -> Project Sync -> Settings'. Work with the included template, it should be fairly self-explanatory (I hope).
Things of Note
- You will need password-less SSH enabled to use this plugin (google it)
- paths in the settings file are case-sensitive; be sure to escape window's paths as per the example settings file.
- if you're having problems getting the plugin working, enable the debug setting and watch the sublime console (ctrl+). All commands will be printed to the console, you can try running them manually to see what is happening.
- Any fatal errors from ssh/rsync will be displayed in a popup window, read them and act accordingly.
- When syncing a large amount of files to a remote server (with the dev_sync command) it may look like sublime has hung/crashed, it will begin responding again when the sync is complete, be patient as this can take a long time depending on the speed of your connection and the number of items to transfer.