sublime text
插件
安装插件
https://packagecontrol.io/installation
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)
常用插件
- phpfmt:php代码格式化
- Emmet:HTML快速书写
- jquery:jq书写
- ChineseLocalization:sublime text 汉化
- ConvertToUTF8:GBK编码支持
- SublimeLinter,SublimeLinter-php:PHP语法检查
- SideBarEnhancements:侧边栏
- DocBlockr:文档生成
- BracketHighlighter:括号、引号、标签高亮插件