Sublime 集成前端开发工具

来源:互联网 发布:客户达软件下载 编辑:程序博客网 时间:2024/05/22 07:59

1:安装工具(版本可以按照新的下载安装)





2:安装插件


2.1、菜单 view -> show console粘贴 以下代码 并回车

import urllib.request,os,hashlib; h = '6f4c264a24d933ce70df5dedcf1dcaee' + 'ebe013ee18cced0ef93d5f746d80ef60'; 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)

或者

import urllib2,os,hashlib; h = '6f4c264a24d933ce70df5dedcf1dcaee' + 'ebe013ee18cced0ef93d5f746d80ef60'; 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')

如果都不可以点此 packagecontrol  前往官网查看。

2.2 package

                                


2.3 安装 html-css-js代码格式化功能


2.4 安装主题 spacegray

   

启用主题:

           

        


"theme": "Spacegray Eighties.sublime-theme","color_scheme": "Packages/Theme - Spacegray/base16-eighties.dark.tmTheme"

2.5 安装Emmet 标签快写功能,此功能过程需要浏览器v8引擎,请先安装nodeJS再安装此项




完成。