This is a SQL formatter plugin for the increasingly-popular Atom editor.
The formatter provides all the same fancy stuff as in its other incarnations (SSMS extension, Visual Studio extension, Notepad++ plugin, etc), including:
Install from within Atom ("poor-mans-t-sql-formatter"), or on the command-line, using Atom's package manager "apm":
apm install poor-mans-t-sql-formatter
Select "Format SQL" to format the highlighted text or, if none selected, the whole active text document.
Default keyboard shortcut is "Ctrl-K, Shift-F", but this can be disabled and/or customized.
Options can all be set in the standard Atom option-management UI.
The only notable known limitations of this package for the moment is:
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.