一、代码格式化技巧
在[Preferences]->[Key Bindings]->[User]中, 中文版的位置在 [首选项]->[按键绑定-用户],弹出的页面中
,添加如下代码,为其设置快捷键:Ctrl+Shift+f (取format的首字母)
{ "keys": ["ctrl+shift+f"], "command": "reindent", "args": { "single_line": false }}
本文共 267 字,大约阅读时间需要 1 分钟。
一、代码格式化技巧
在[Preferences]->[Key Bindings]->[User]中, 中文版的位置在 [首选项]->[按键绑定-用户],弹出的页面中
,添加如下代码,为其设置快捷键:Ctrl+Shift+f (取format的首字母)
{ "keys": ["ctrl+shift+f"], "command": "reindent", "args": { "single_line": false }}
转载于:https://my.oschina.net/u/3007124/blog/2996761