標籤:
文法:
http://docs.emmet.io/cheat-sheet/
http://www.iteye.com/news/27580
http://www.w3cplus.com/tools/emmet-cheat-sheet.html
//安裝Packgae Control://Ctrl+` :import urllib.request,os; pf = ‘Package Control.sublime-package‘; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); open(os.path.join(ipp, pf), ‘wb‘).write(urllib.request.urlopen( ‘http://sublime.wbond.net/‘ + pf.replace(‘ ‘,‘%20‘)).read())
//快速鍵映射[ {"keys": ["enter"], "command": "move", "args": {"by": "characters", "forward": true}, "context": [ { "key": "following_text", "operator": "regex_contains", "operand": "^[)\\]\\>\\‘\\\"\\ %>\\}\\;\\,]", "match_all": true }, { "key": "preceding_text", "operator": "not_regex_match", "operand": "^.*\\{$", "match_all": true }, { "key": "auto_complete_visible", "operator": "equal", "operand": false } ] },
//以下為Trailing Space外掛程式 一鍵刪除多餘空格 { "keys":["ctrl+alt+d"], "command":"delete_trailing_spaces"}, { "keys":["ctrl+alt+o"], "command":"toggle_trailing_spaces"}]
//Setting-user
//class名含有減號時可以一起選擇"word_separators":"./\\()\"‘:,.;<>[email protected]#$%^&*|+=[]{}`~?"
Wrap with Abbreviation文本編輯技巧
//常用外掛程式
EmmetTheme - SoDaReloaded//代碼風格{ "theme": "SoDaReloaded Dark.sublime-theme"}SideBarEnhancements//側欄右鍵功能增強SublimeTmpl //快速建立檔案類型autoFileName// 自動提示urlHtml-css-javascript-prettify //格式化代碼AlignTab //對齊AutoFileName //自動補全urlBracket HighLighter //括弧高亮顯示Trailing Space //高亮顯示多餘空格Goto-CSS-Declaration //定位到css定義
sublime Text提示及常用外掛程式