How can I see formatted code?


#1

I don’t wish to use atom as a IDE replacement. However, sometimes, I need to analyse small pieces of code, and it would be nice to see that code properly formatted.

Is this possible?


#2

It sure is. You can call the auto indent command from the command palette cmd-shift-p or you can follow these instructions to make a key binding: