Not serving all of our needs (i.e. we can’t get it to indent subsequent lines of a multi-line command) but it does its job: https://github.com/sqlfluff/sqlfluff
It's a simple perl script, so very easy to run locally, but there's an online version for those who prefer: https://sqlformat.darold.net
👤 cafard
I used to use emacs, which had a decent PL/SQL mode. But it has been quite a while since I used anything but SQLDeveloper (Oracle) or SQL Server Management Studio, which are pretty hands-off.