Sublime Text3 安装package control
2016-01-06 13:11
351 查看
官网链接:https://packagecontrol.io/installation#ST3
The simplest method of installation is through the Sublime Text console. The console is accessed via the ctrl+` shortcut
or the View > Show Consolemenu.
Once open, paste the appropriate Python code for your version of Sublime Text into the console.
使用Ctrl+`快捷键或者通过View->Show Console菜单打开命令行,粘贴如下代码:
import
urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; 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://packagecontrol.io/' + 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)
The simplest method of installation is through the Sublime Text console. The console is accessed via the ctrl+` shortcut
or the View > Show Consolemenu.
Once open, paste the appropriate Python code for your version of Sublime Text into the console.
使用Ctrl+`快捷键或者通过View->Show Console菜单打开命令行,粘贴如下代码:
import
urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; 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://packagecontrol.io/' + 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)
相关文章推荐
- mac上安装sublime text3 package control问题
- Sublime 3 中文乱码解决方法
- Sublime Text 3:there are no packages available for installation解决方法
- Sublime Text3常用快捷键
- Python编辑器设置(包括Visual Studio Code和Sublime Text3)
- JavaScript入门篇<一>
- centos7 安装sublime text3 及package control以及问题解决
- sublime怎么实现函数之间的跳转
- Sublime text 2 安装 Package Control
- Sublime Text3汉化版java配置+插件安装
- 关于sublime text3 在浏览器中打开的插件view in browser
- Sublime text3配置BracketHighlighter插件。
- sublime text 3不支持GB2312和GBK的解决办法
- golang 用sublime text3 作为IDE进行配置
- Firefox 与 sublime text 3 通过LiveReload插件实现前端代码实时预览
- sublime text3汉化操作步骤
- sublime text安装及package control的安装
- 环境搭建基础知识4(sublime text3破解)
- 环境搭建基础知识3(sublime text3常用快捷方式 列操作)
- 环境搭建基础知识2(sublime text3中配置verilog语法高亮)