SSMS lacks the capability to format SQL statements.So,we can use Sql Pretty Printer ,make our sql more beautiful.
For example,
we can use Ctrl+K+J to complete formatting, like Visual Studio in the format shortcut Ctrl+K+D effect, easy to use.
Download address:http://www.dpriver.com/dlaction.php
Get licence url:https://www.dpriver.com/products/sqlpp/getforfree.php