If you are T-SQL developer, go grab this tools. It’s a SQL code formatting plug-in for SQL Server Management Studio. Previously I am using Java based code formatting tools but this one integrated with Management Studio is far better.
The tools is called ApexSQL Refactor, published by ApexSQL. Give it a try it is free.
Code formatting give you better readabilities to the code. Below sample of Before and After.
Download from the official site at this link.