sublime text3 Sync_Setting

sublime text 3 Sync_Setting 

official web:https://packagecontrol.io/packages/Sync%20Settings

 

Getting Started

  1. Run Package Control: Install Package command, and looks for Sync Settings
  2. Run Sync Settings: Edit User Settings
  3. if Do you already have a gist?
    1. Copy gist id and put it in config file (https://gist.github.com/<username>/<gist id>) (gist_id property)
    2. Run Sync Settings: Download command to retrieve your backup.
  4. else
    1. Create an access token here with gist scope checked.
    2. Put the token in the config file (access_token property)
    3. Run Sync Settings: Create and Upload command

File Format

Please note - the config file uses the JSON format. A simplified example may look like the following.

{
    "access_token": "xxxxxxxxxxxxxxxxxxxxxxxxx",
    "gist_id": "xxxxxxxxxxxxxxxxxxxxxxxxx"
}

 注意:

gist_id是自动生成的,指向所备份的文件,在同步时输入gist_id即可找到文件


使用:

Commands

commanddescription
Sync Settings: Create and UploadCreates a new backup on gist.github.com from your local files
Sync Settings: Delete and CreateDeletes the remote reference of your gist and then, creates a new backup from your local files to gist.github.com
Sync Settings: UploadUpload a backup from your local files to gist.github.com
Sync Settings: DownloadRetrieves the latest version of your backup, using as reference the gist_id property defined in your settings file.
Sync Settings: DeleteDeletes the remote version of your gist, using as reference the gist_id property defined in your settings file. (This action is irreversible)
Sync Settings: Show LogsOpen a new view, with Sync Settings log file
Sync Settings: Edit User SettingsOpen a new view, with Sync Settings user settings.

在另一台安装了sublime text的机器上,按照类似的步骤操作,选择Download即可同步设置和插件。


 以上过程可能要求网络

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值