https://packagecontrol.io/installationhtml
第一步:python
The simplest method of installation is through the Sublime Text console. The console is accessed via the ctrl+` shortcut or the View > Show Console menu. Once open, paste the appropriate Python code for your version of Sublime Text into the console. git
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)
web
This code creates the Installed Packages folder for you (if necessary), and then downloads the Package Control.sublime-package into it. The download will be done over HTTP instead of HTTPS due to Python standard library limitations, however the file will be validated using SHA-256.redis
Warning: Please do not redistribute the install code via another website. It will change with every release. Instead, please link to this page.django
第二步:sass
進入提供的相關環境sublime Text目錄,點擊運行app
ctrl + shift + p install package
經常使用工具包less
AdvancedNewFile Djaneiro Emmet less sass Git Side Bar HTML/CSS/JS Prettify Python PEP8 Autoformat SublimeCodeIntel ColorPicker OmniMarkupPreviewer
經常使用包使用說明ide
AdvancedNewFile 能夠建立文件,也能夠連目錄和文件都建立 win+alt+n
Djaneiro django一些語法快速補齊功能,參考以下 https://packagecontrol.io/packages/Djaneiro
Emmet 快速縮寫html,tab補齊,
代碼簡寫擴展神器 ul#test>li*4 Ctrl+e展開上述指令
html:5 補齊html p.foo 補齊class p#foo 補齊id > 子元素符號,表示嵌套的元素 + 同級標籤符號 ^ 可使該符號前的標籤提高一行
Git 集成git ctrl+shift+p 輸入git
Side Bar 摺疊目錄樹 ctrl+k ctrl+b
HTML/CSS/JS Prettify 格式化代碼 鼠標右鍵,從裏面選
Python PEP8 Autoformat 格式化python代碼 ctrl+shift+r
SublimeCodeIntel 自動匹配補全代碼 ctrl+f3 調到變量定義的地方
ColorPicker 屏幕拾色器 ctrl+shift+c
ConvertToUTF8 直接在菜單欄中能夠轉,專爲中文設計