menu under Preferences → Key Bindings – User
[
{"keys": ["ctrl+shift+r"], "command": "reindent" , "args": {"single_line": false}}
]
保存马上生效,并且不需要选中代码,可以直接用命令ctrl+shift+r就能对齐代码了
时间: 2024-10-12 07:51:29
menu under Preferences → Key Bindings – User
[
{"keys": ["ctrl+shift+r"], "command": "reindent" , "args": {"single_line": false}}
]
保存马上生效,并且不需要选中代码,可以直接用命令ctrl+shift+r就能对齐代码了