配置
自定義按鍵
[
{ "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 = <!-- 括號(hào)高亮 -->
colorpicker = <!-- 顏色拾取 -->
Docblockr = <!-- 方法注釋 -->
Emmet = <!-- html快速生成 -->
Emmet css Snippets css = <!-- 兼容性前綴生成 -->
Filediffs = <!-- 文件比對(duì) -->
FileHeader = <!-- 快速生成文件頭 -->
SublimeLinter = <!-- 錯(cuò)誤檢查 -->
SublimeLinter-php = <!-- 錯(cuò)誤檢查 -->
Tag = <!-- 代碼格式化 -->
JsFormat = <!-- js代碼格式化 -->
SublimeCodeIntel = <!-- php代碼提示,位置查找 -->
CSScomments
HTML5
jQuery
Nodejs
PHP zend frameworkHelper
PyV8
SFTP
主題
Theme-Farzher
Theme-Flatland
Theme-soda
Farzher webDevelop bright
Docblockr設(shè)置
{
"jsdocs_extra_tags": ["@author [xiaoke]"],
"jsdocs_function_description": true,
"jsdocs_spacer_between_sections": true,
"jsdocs_short_primitives": true,
}
sublimelinter設(shè)置
先安裝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"
}