How do you auto-indent your code in the Atom editor? In other editors you can usually select some code and auto-indent it.
Is there a keyboard shortcut as well?
You can just quickly open up the command palette and do it there Cmd + Shift + p and search for Editor: Auto Indent:
Editor: Auto Indent