View on GitHub

PackageSync

Sync sublime text packages & user settings across devices.

PackageSync

Synchronize your Sublime Text packages and your user-settings across different devices effortlessly. For this, PackageSync requires an online syncing application like Google Drive, Dropbox or SkyDrive installed on your devices.
Alternatively, PackageSync also allows you to take portable backups of your packages & restore them on the same or any other machine without any need for third party applications mentioned above.

Table of Contents

Features

Backup/Restore

This allows you to backup the installed packages list & the user settings for each package. This backup can then be restored to any other device using PackageSync.

The user-setting file for PackageSync (PackageSync.sublime-settings) is never synced.

Do note that this Backup/Restore operation only syncs your packages list and your user settings offline. But the actual installation of missing/new packages requires a working Internet connection.

Also, while restoring from PackageSync backup, please ensure that all *.sublime-settings files are closed. Files in open state would interrupt the restore operation, resulting in unforeseen errors.

Sync Online

This allows you to sync the packages & user settings in real time across different devices. For this, the installed packages list & user settings are be saved to & synced via a folder monitored by Dropbox, Google Drive or SkyDrive etc.

OnlineSyncFolder

Restart Sublime Text & Package Control will check for missing packages and install them automatically. From now on everything should work very smoothly.

Note: For PackageSync to automatically manage installation & removal of packages (without requiring any restart) as per sync or restore operation Package Control needs to be installed as well. Otherwise, installation or removal would require restart of Sublime Text.

Usage

The commands are available under the menu Tools -> PackageSync.

Alternatively, from inside Sublime Text, open Package Control’s Command Pallet: CTRL+SHIFT+P (Windows, Linux) or CMD+SHIFT+P (Mac) & search for PackageSync: to get the list of available commands.

Settings

PackageSync provides the following user configurable settings:

Installation

Package Control

The preferred method of installation is via Sublime Package Control.

  1. Install Sublime Package Control
  2. From inside Sublime Text, open Package Control’s Command Pallet: CTRL SHIFT P (Windows, Linux) or CMD SHIFT P (Mac).
  3. Type install package, select command Package Control: Install Package and hit Return. A list of available packages will be displayed.
  4. Type PackageSync, select the PackageSync package and hit Return. The package will be downloaded to the appropriate directory.

Manual Installation

  1. Download or clone this repository to a directory PackageSync in the Sublime Text Packages directory for your platform:
    • Mac: git clone https://github.com/utkarsh9891/PackageSync.git ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/PackageSync
    • Windows: git clone https://github.com/utkarsh9891/PackageSync.git %APPDATA%\Sublime/ Text/ 3/\PackageSync
    • Linux: git clone https://github.com/utkarsh9891/PackageSync.git ~/.Sublime\ Text\ 3/Packages/PackageSync
  2. Restart Sublime Text to complete installation.

The features listed above should now be available.

Feedback

Please use the form PackageSync Feedback for providing any Feedback or Suggestions or for reporting Issues that you face while using or installing PackageSync.

License

All files in this package are licensed under the MIT license. See the LICENSE file for license rights and limitations.