Indenting code in Sublime text 2?

You can find it in Edit → Line → Reindent, but it does not have a shortcut by default. You can add a shortcut by going to the menu Preferences → Keybindings → User, then add there: { “keys”: [“f12”], “command”: “reindent”, “args”: {“single_line”: false} } (example of using the F12 key for that functionality) … Read more