Question: How to indent the same way as Visual Studio Ctrl+k+d in Sublime Text 3?

 

Answer:

  1. Open Sublime Text 3
  2. Click on Preferences -> Key Bindings - User
  3. Make sure you have the following line:
    View source
     
    [
        { "keys": ["ctrl+k", "ctrl+d"], "command": "reindent", "args": {"single_line": false} }
    ]