sublime 文本格式化方法(自定义方法)


1、首先通过以下路径打开用户按键绑定文件:

Preferences → Key Bindings 


2、然后在其中添加以下代码(如果你有需要的话,其中的快捷键组合是可以自己定义的):


{"keys": ["ctrl+shift+l"], "command": "reindent" , "args": {"single_line": false}}


如图所示:






猜你喜欢

转载自blog.csdn.net/github_37360787/article/details/59532588