sublimetext 自带格式化代码功能进行快捷键组合的设置:
1、首先通过以下路径打开用户按键绑定文件:
Preferences → Key Bindings – User
2、然后在其中添加以下代码(如果你有需要的话,其中的快捷键组合是可以自己定义的):
{"keys": ["ctrl+shift+r"], "command": "reindent" , "args":{"single_line": false}}
sublimetext 自带格式化代码功能进行快捷键组合的设置:
1、首先通过以下路径打开用户按键绑定文件:
Preferences → Key Bindings – User
2、然后在其中添加以下代码(如果你有需要的话,其中的快捷键组合是可以自己定义的):
{"keys": ["ctrl+shift+r"], "command": "reindent" , "args":{"single_line": false}}