1、首先通过以下路径打开用户按键绑定文件:
Preferences → Key Bindings
2、然后在其中添加以下代码(如果你有需要的话,其中的快捷键组合是可以自己定义的):
{"keys": ["ctrl+shift+l"], "command": "reindent" , "args": {"single_line": false}}
如图所示:
1、首先通过以下路径打开用户按键绑定文件:
Preferences → Key Bindings
2、然后在其中添加以下代码(如果你有需要的话,其中的快捷键组合是可以自己定义的):
{"keys": ["ctrl+shift+l"], "command": "reindent" , "args": {"single_line": false}}
如图所示: