插件

安装插件

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)

常用插件

  1. phpfmt:php代码格式化
  2. Emmet:HTML快速书写
  3. jquery:jq书写
  4. ChineseLocalization:sublime text 汉化
  5. ConvertToUTF8:GBK编码支持
  6. SublimeLinter,SublimeLinter-php:PHP语法检查
  7. SideBarEnhancements:侧边栏
  8. Doc​Blockr:文档生成
  9. Bracket​Highlighter:括号、引号、标签高亮插件