sublime安装angularJS插件
2015-03-11 14:09
302 查看
1.打开sublime,查看 -> 控制台,键入以下代码
sublime 2:
import urllib2,os,hashlib; h = 'eb2297e1a458f27d836c04bb0cbaf282' + 'd0e7a3098092775ccb37ca9d6b2e4b7d'; 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://packagecontrol.io/' + 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 3:
import urllib.request,os,hashlib; h = 'eb2297e1a458f27d836c04bb0cbaf282' + 'd0e7a3098092775ccb37ca9d6b2e4b7d'; 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)
若不正确,访问以下地址获取:https://packagecontrol.io/installation
重启
2.Ctrl + Shift + P 打开命令行,输入 package install 后选择
3.再输入angularjs,选择安装
4.重启完成安装
sublime 2:
import urllib2,os,hashlib; h = 'eb2297e1a458f27d836c04bb0cbaf282' + 'd0e7a3098092775ccb37ca9d6b2e4b7d'; 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://packagecontrol.io/' + 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 3:
import urllib.request,os,hashlib; h = 'eb2297e1a458f27d836c04bb0cbaf282' + 'd0e7a3098092775ccb37ca9d6b2e4b7d'; 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)
若不正确,访问以下地址获取:https://packagecontrol.io/installation
重启
2.Ctrl + Shift + P 打开命令行,输入 package install 后选择
3.再输入angularjs,选择安装
4.重启完成安装
相关文章推荐
- sublime安装AngularJS插件
- sublime安装AngularJS插件
- 编码神器之sublime(插件安装)
- 解决:sublime text ctags 不能正常跳转 can't find any relevent tags file 【附ctags插件完整安装步骤】
- 前端神器-sublime插件安装及使用
- sublime中安装css 格式化插件
- Sublime3常用插件安装
- 如何在sublime中安装coffeescript插件【整理】
- Mac下的Sublime Text 3 安装go插件GoSublime, SideBarEnhancements,Go Build,Godef
- 【sublime】插件安装:包管理器——Package Control
- Sublime - 从指定github仓库安装插件
- sublime text mac 下安装 ctags插件
- sublime 2/3 install package control 插件 皮肤 快捷键 安装
- sublime2插件安装
- sublime-text3插件安装
- 神器sublime+bootstrap插件的安装
- sublime -text 删除已安装插件
- sublime 插件 安装推荐
- sublime 插件管理器安装
- 在sublime里安装Emmet插件(代替zen-coding)