Indenting code in Sublime text 2?

后端 未结 20 2460
没有蜡笔的小新
没有蜡笔的小新 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:40

    Netbeans like Shortcut Key

    Go to Preferences > Key Bindings > User and add the code below:

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

    Usage

    Ctrl + Shift + F

提交回复
热议问题