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?
This works for me:
'atom-workspace atom-text-editor': 'ctrl-alt-a': 'editor:auto-indent'
You have to select all with ctrl-a first.