sublime text3插件
程序员文章站
2022-06-20 10:57:49
...
- 安装package control
- Ctrl+~调出console,输入
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())
- 重启sublime
- Ctrl+shift+p,输入install package选择安装的插件
- 插件介绍
- convert to utf-8
- emmet 原来叫zen coding
- jquery
- autoPrefixer css3的自动补齐
- jsFormat js的格式化
- tag
-
自定义快捷键:preferences-->keybinding-user:
[ { "keys": ["ctrl+d"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} }, { "keys": ["alt+up"], "command": "swap_line_up" }, { "keys": ["alt+down"], "command": "swap_line_down" }, { "keys": ["ctrl+alt+down"], "command": "duplicate_line" }, { "keys": ["shift+ctrl+y"], "command": "lower_case" }, { "keys": ["shift+ctrl+x"], "command": "upper_case" }, // 自动提示、补全 { "keys": ["alt+/"], "command":"auto_complete" }, { "keys": ["alt+/"], "command":"replace_completion_with_auto_complete", "context": [ { "key": "last_command", "operator":"equal", "operand": "insert_best_completion" }, { "key": "auto_complete_visible", "operator":"equal", "operand": false }, { "key": "setting.tab_completion", "operator":"equal", "operand": true } ] } ]
-
{ "ignored_packages": [ "Vintage", ], "font_size": 12, "tab_size": 4, "translate_tabs_to_spaces": true, "word-wrap": false, "preview_on_click": false }
转载于:https://my.oschina.net/muyexia/blog/387882
上一篇: 使用dom4j解析XML简单示例