Atom sync-setting配置问题

Atom 简介

我自己很喜欢用Atom编辑器,它和notepad++很类似,但不同的是他可以安装很多插件,通过插件可以让他变得更好用。不过ATOM运行效率远远没有notepad++高了,追求高性能的用户还是不要用了。

那么安装了很多插件,如果换了台电脑或是重装了系统,怎么记得那么一大堆插件装了哪些呢??这里可以使用sync-setting作为管理,那么更换电脑后,只要先把sync-setting插件安装上,便可以保证其余的插件都会自动同步安装下来。

sync-setting 简介

sync-settings是一款备份插件,可以备份ATOM的全局设置、插件、按键绑定(keymaps)、界面样式、代码片段(snippets )、 init script。

sync-setting 配置

这里写图片描述

配置项的Access Token 和Gist ID需要到github去申请

Setup

  1. Open Sync Settings configuration in Atom Settings.
  2. Create a new personal access token which has the gist scope and be sure to activate permissions: Gist -> create gists.
  3. Copy the access token to Sync Settings configuration or set it as an environmental variable GITHUB_TOKEN.
  4. Create a new gist:

    • The description can be left empty. It will be set when invoking the backup command the first time.
    • Use packages.json as the filename.
    • Put some arbitrary non-empty content into the file. It will be overwritten by the first invocation of the backup command
    • Save the gist.
  5. Copy the gist id (last part of url after the username) to Sync Settings configuration.

Disclaimer: GitHub Gists are by default public. If you don’t want other people to easily find your gist (i.e. if you use certain packages, storing auth-tokens, a malicious party could abuse them), you should make sure to create a secret gist.

阅读更多
版权声明:本文为博主原创文章,转载时应附上本文链接。 如有其他任何问题需要交流或帮助,请邮件联系博主 mcoder2014@sina.com https://blog.csdn.net/jcq521045349/article/details/78285203
文章标签: atom
个人分类: 日常学习
上一篇使用git管理unity工程
下一篇Large Pose 3D Face Reconstruction 文章理解
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭
关闭