sublime text3 Sync_Setting
sublime text 3 Sync_Setting
official web:https://packagecontrol.io/packages/Sync%20Settings
Getting Started
- Run
Package Control: Install Package
command, and looks for Sync Settings - Run
Sync Settings: Edit User Settings
- if Do you already have a gist?
- Copy
gist id
and put it in config file (https://gist.github.com/<username>/<gist id>
) (gist_id
property) - Run
Sync Settings: Download
command to retrieve your backup.
- Copy
- else
- Create an access token here with
gist
scope checked. - Put the token in the config file (
access_token
property) - Run
Sync Settings: Create and Upload
command
- Create an access token here with
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
command | description |
---|---|
Sync Settings: Create and Upload | Creates a new backup on gist.github.com from your local files |
Sync Settings: Delete and Create | Deletes the remote reference of your gist and then, creates a new backup from your local files to gist.github.com |
Sync Settings: Upload | Upload a backup from your local files to gist.github.com |
Sync Settings: Download | Retrieves the latest version of your backup, using as reference the gist_id property defined in your settings file. |
Sync Settings: Delete | Deletes 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 Logs | Open a new view, with Sync Settings log file |
Sync Settings: Edit User Settings | Open a new view, with Sync Settings user settings. |
在另一台安装了sublime text的机器上,按照类似的步骤操作,选择Download即可同步设置和插件。
以上过程可能要求网络
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 周边上新:园子的第一款马克杯温暖上架
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!