![]() "prompt_for_location" = false & "folder_backup_path" = "" The folder path to use for backing up or restoring package list & user settings. During backup operation, it also overrides any existing backup at this location without confirmation. This combination backs up & restores using the zip file SublimePackagesBackup.zip on the current user’s Desktop. "prompt_for_location" = false & "zip_backup_path" = "" The zip file path to use for backing up or restoring package list & user settings. If no location has been specified in settings, by default user’s desktop is used for backup. If set as false, the location specified in settings is used. If set as true, user is prompted every time for a path upon back up or restore operation. Prompt_for_location ĭecides if the user is asked for providing location to back up to or restore from. PackageSync provides the following user configurable settings: The commands are available under the menu Tools -> PackageSync.Īlternatively, 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. Otherwise, installation or removal would require restart of Sublime Text. 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. From now on everything should work very smoothly. Restart Sublime Text & Package Control will check for missing packages and install them automatically. The following message dialog should appear which you just have to confirm. On your second machine please wait until all the backup files are available and then simply set the sync folder and PackageSync will automatically pull all available files from that folder. Second Machine (or after a fresh installation of Sublime Text) In the ensuing input panel, give the complete path to any directory on your computer inside your Dropbox or Google Drive sync folder. Turn on PackageSync’s online syncing module by setting the sync folder via “PackageSync: Sync Online - Define Online Sync Folder” from the command palette or Tools menu. For this, the installed packages list & user settings are be saved to & synced via a folder monitored by Dropbox, Google Drive or SkyDrive etc. This allows you to sync the packages & user settings in real time across different devices. Files in open state would interrupt the restore operation, resulting in unforeseen errors. But the actual installation of missing/new packages requires a working Internet connection.Īlso, while restoring from PackageSync backup, please ensure that all *.sublime-settings files are closed. The user-setting file for PackageSync (PackageSync.sublime-settings) is never synced.ĭo note that this Backup/Restore operation only syncs your packages list and your user settings offline. User settings for packages are ignored in this option. Backup/Restore only Package List - Backs up only the installed packages list to a file.Backup/Restore via folder - Works the same way as the zip file, with the only difference that the contents are placed in a folder instead of an archived zip file.The zip file is the best portable format for offline syncing. Backup/Restore via a Zip file (Recommended) - Backs up the installed packages list & their settings into a zip file.This backup can then be restored to any other device using PackageSync. This allows you to backup the installed packages list & the user settings for each package. For this, PackageSync requires an online syncing application like Google Drive, Dropbox or SkyDrive installed on your devices.Īlternatively, 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. Synchronize your Sublime Text packages and your user-settings across different devices effortlessly.
0 Comments
Leave a Reply. |