Indenting code in Sublime text 2?

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

    This is my configuration for sublime-keymap:

    [
      {
        "keys": [",+=+="],
        "command": "reindent",
        "args": {
          "single_line": false
        }
      }
    ]
    

    For vim people, just use ,== to reindent the whole file.

提交回复
热议问题