Indenting code in Sublime text 2?

后端 未结 20 2446
没有蜡笔的小新
没有蜡笔的小新 2020-11-28 17:19

In Visual Studio I can press Ctrl+K+D to indent everything so the code is structured nicely and readable. Is there a shortcut in Sublime 2 t

20条回答
  •  [愿得一人]
    2020-11-28 17:48

    First open the sublime text.
    than open preferences.
    than open Key Bindings -User.
    than put the below code

    [{"keys": ["ctrl+shift+c"], "command": "reindent"},]

    I use CtrlShiftC and you also use other short cut key.

提交回复
热议问题