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
The reindent command only works on the currently selected lines unless the "single_line" argument is set to false.
{ "keys": ["f12"], "command": "reindent", "args": {"single_line": false} }
Now, pressing f12 will reindent the entire document.