Try SQL Assistant software.
Really powerful tool, which can hook onto various applications adding missing features (like text formatting, on-the-fly code checking, searching through whole db structure for given text and much more.
Regarding formatting, it is configurable: you may create your own formatting rules
Note, this app is not free, but you may try a trial.
regards
On 6.11.2013 14:11, David Jaspers wrote:
Hello,
This is a feature request for pgadmin.
Would it be possible to add a tool to the query window: Format SQL on the selected query text.
The formatting works like http://sqlformat.appspot.com/
Thanks,
David Jaspers