首先,安装Package Control
Sublime Text 2:
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/](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)
Sublime Text 3:
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')
- Emmet 快写HTML神器,前身zen coding
- SideBarEnhancements SB边栏增强
- BracketHighlighter 括号匹配高亮
- Git 分布式版本控制
- SVN 非分布式版本控制
- JsFormat 格式化JS代码
- HTMLBeautify 格式化HTML代码
- Pretty JSON 格式化JSON字符串
- HTML-CSS-JS Prettify (代替 6,7)
-
Alignment 对齐
=
等 - jQuery
- ColorPicker
- Tag
- Can I Use 查询 CSS 属性兼容性
各插件用法请参考官方文档哦~
更多插件等你发现!