Sublime 自帶格式化功能(代碼縮進(jìn)), 在menu->edit->line->reindent
但是沒(méi)有快捷鍵,自行設(shè)置快捷鍵,添加到user-key-setting
在菜單Preferences->Key Bindings,輸入:
{ "keys": ["super+e"], "command": "reindent" }
Sublime 自帶格式化功能(代碼縮進(jìn)), 在menu->edit->line->reindent
但是沒(méi)有快捷鍵,自行設(shè)置快捷鍵,添加到user-key-setting
在菜單Preferences->Key Bindings,輸入:
{ "keys": ["super+e"], "command": "reindent" }