A simple free (AGPL) T-SQL Formatting Extension for Visual Studio 2015-2019.
Poor Man's T-SQL Formatter
Features
In-context formatting of T-SQL scripts with full support for all sorts of DML and DDL, including multi-statement batches, stored procedure source code, etc