配置
自定义按键
[
{ "keys": ["ctrl+alt+down"], "command":"duplicate_line" },
{ "keys": ["ctrl+alt+g", "ctrl+alt+b"],"command": "find_all_under" },
{ "keys": ["ctrl+alt+j"], "command":"js_format" },
{ "keys": ["ctrl+alt+e"], "command": "alignment" },
{ "keys": ["ctrl+t"], "command": "php_code_gen"},
{ "keys": ["ctrl+alt+t"], "command": "code_formatter"},
{ "keys": ["ctrl+shift+c"], "command": "show_panel", "args": {"panel": "find_in_files"} },
{ "keys": ["ctrl+alt+u"], "command": "upper_case" },
{ "keys": ["ctrl+alt+l"], "command": "lower_case" },
{ "keys": ["alt+up"], "command": "jump_back" },
{ "keys": ["alt+down"], "command": "jump_forward" },
{ "keys": ["ctrl+shift+up"], "command": "swap_line_up" },
{ "keys": ["ctrl+shift+down"], "command": "swap_line_down" },
{ "keys": ["ctrl+shift+h"], "command": "toggle_side_bar" },
]
插件列表
Alignment = <!-- 代码提示 -->
BracketHighlighter = <!-- 括号高亮 -->
colorpicker = <!-- 颜色拾取 -->
Docblockr = <!-- 方法注释 -->
Emmet = <!-- html快速生成 -->
Emmet css Snippets css = <!-- 兼容性前缀生成 -->
Filediffs = <!-- 文件比对 -->
FileHeader = <!-- 快速生成文件头 -->
SublimeLinter = <!-- 错误检查 -->
SublimeLinter-php = <!-- 错误检查 -->
Tag = <!-- 代码格式化 -->
JsFormat = <!-- js代码格式化 -->
SublimeCodeIntel = <!-- php代码提示,位置查找 -->
CSScomments
HTML5
jQuery
Nodejs
PHP zend frameworkHelper
PyV8
SFTP
主题
Theme-Farzher
Theme-Flatland
Theme-soda
Farzher webDevelop bright
Docblockr设置
{
"jsdocs_extra_tags": ["@author [xiaoke]"],
"jsdocs_function_description": true,
"jsdocs_spacer_between_sections": true,
"jsdocs_short_primitives": true,
}
sublimelinter设置
先安装sublimelinter本体
再安装sublimelinter-php
配置:
{
"user": {
"linters": { },
"paths": {
"linux": [],
"osx": [],
"windows": [
"E:\\wamp\\bin\\php\\php5.4.3"
]
},
}
}
UI界面
用 Package Control 安装:Seti_UI
{
"theme": "Seti.sublime-theme"
}