1、sublime Text  (插件的安装,删除,更新)

1.1 使用 ctrl+`快捷键(Esc下面的波浪线按钮) 或者 菜单项View > Show Console 来调出命令界面,下面代码(第一个是s3,第二个s2)copy进去,回车。Esc退出。

import urllib.request,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
import urllib2,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler()) ); by = urllib2.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); open( os.path.join( ipp, pf), 'wb' ).write(by) if dh == h else None; print('Error validating download (got %s instead of %s), please try manual install' % (dh, h) if dh != h else 'Please restart Sublime Text to finish installation')

重启Sublime Text 3,查看Perferences->package settings中是否有package control这一项,如果有,则安装成功。

1.2 新插件的安装:

Ctrl+Shift+P调出命令面板,输入install 选则列表中的 Install Package 选项并回车。

1.3 删除插件:

Ctrl+Shift+P调出命令面板,输入remove,调出Remove Package选项并回车,选择要删除的插件即可。

1.4 更新插件:

 Ctrl+Shift+P调出命令面板,输入upgrade,调出upgrade Package选项并回车,选择要更新的插件即可。

参考:https://packagecontrol.io/installation

最新文章

  1. Medial Queries的另一用法——实现IE hack
  2. servlet/filter/listener/interceptor区别与联系
  3. CentOS7—HAProxy安装与配置
  4. 佛祖保佑 永无BUG 永不修改
  5. Jenkins 2.26 发布,可扩展的持续集成引擎
  6. bzoj-3444 3444: 最后的晚餐(组合数学)
  7. python_way day14 CSS
  8. I2总线
  9. hexo部署到gitcafe上静态博客
  10. 漫谈项目设计&重构&性能优化
  11. Linux(power服务器)中kettle(2)
  12. 【数据库系列学习一】Access与Excel的区别和联系
  13. 基于Json序列化和反序列化通用的封装
  14. js的事件循环绑定和jQuery的隐式迭代
  15. "tsc.exe"已退出,代码1
  16. deeplearning 重要调参参数分析
  17. Could not process inbound connection: Client [/rostopic_18439_1555659423249] wants topic , ROS md5sums do not match
  18. JS绘制拓扑图示例 (JTopo)
  19. [整理]IE11中的WebGL探秘:渲染速度超Chrome
  20. 获取指定ip段的所有存活主机的主机名和操作系统

热门文章

  1. 解决java.lang.IllegalArgumentException: No converter found for return value of type: class java.util.ArrayList问题
  2. HTML5 为 <input> 增加的属性 ; 为 <form> 增加的如需属性
  3. [转]centos7.2 下 nginx 开机启动
  4. Cogs 9. 中心台站建设
  5. 洛谷P5048 [Ynoi2019模拟赛]Yuno loves sqrt technology III(分块)
  6. Miller-Rabin素性测试|Pollard's Rho算法
  7. 项目经验:Glyphicons字体图标改造,制造适合自己项目的字体图标
  8. php保存网络图片到本地
  9. day22作业详解
  10. Luogu P2480 [SDOI2010]古代猪文 卢卡斯+组合+CRT