Sublime Text
标签(空格分隔): Tools
Sublime Text 中关闭记住上次打开的文件
"hot_exit": false,
//不加也行
"remember_open_files": false
Ctrl + shift + F,跨文件搜索
Ctrl + R + 函数名或类名,自动跳转
Ctrl + G + 行号,跳转到该行
F12函数定义声明切换
Ctrl+P 查找文件
pretty json插件:
ctrl + alt + j :json格式化
SublimeAStyleFormatter插件:
java,c#,C++代码格式化
Key Bindings
The default key bindings for this plugin:
**Windows, Linux:**
+ `ctrl+alt+f`: Format current file
+ `ctrl+k, ctrl+f`: Format current selection
**OSX:**
+ `ctrl+alt+f`: Format current file
+ `super+k,super+f`: Format current selection
### Command Palette
Open the command palette, it apperas as `SublimeAStyleFormatter: Format Current File`
and `SublimeAStyleFormatter Format Current Selection`.
自动换行
"word_wrap": true,
"wrap_width": 108
sublime_ps.png
显示或隐藏边栏
Ctrl + K , Ctrl + B
Ctrl+G:跳到某一行
网友评论