sublime应用

来源:互联网 发布:最优化理论 编辑:程序博客网 时间:2024/06/16 03:08

下载官网 http://www.sublimetext.com/3


自带代码格式化快捷键设置 :   {"keys": ["ctrl+shift+r"], "command": "reindent" , "args": {"single_line": false}}


Emmet 快速简写插件,Package Control 直接安装即可


汉化插件:chinese 安装之后在帮助里可以切换语言


sublime浏览器预览插件SideBarEnhancements安装之后设置快捷键

// chrome 
{ "keys": ["f12"], "command": "side_bar_files_open_with","args": { "paths": [], "application": "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe", "extensions":".*" } },
// firefox 
{ "keys": ["f3"], "command": "side_bar_files_open_with","args": { "paths": [], "application": "D:/Program Files (x86)/Mozilla Firefox/firefox.exe", "extensions":".*" } },
 // ie 
{"keys": ["f4"], "command": "side_bar_files_open_with", "args": {"paths": [], "application": "C:/Program Files/Internet Explorer/iexplore.exe", "extensions":".*" } }


Alignment自动对齐插件: {
"keys":
 ["ctrl+alt+j"],
"command":
"alignment"
}

代码自动提示
Bracket Highlighter
类似于代码匹配,可以匹配括号,引号等符号内的范围。


0 0