TaoK / PoorMansTSqlFormatter

A small free .Net and JS library (with demo UI, command-line bulk formatter, SSMS/VS add-in, notepad++ plugin, winmerge plugin, and demo webpage) for reformatting and coloring T-SQL code to the user's preferences.
http://www.architectshack.com/PoorMansTSqlFormatter.ashx
GNU Affero General Public License v3.0
969 stars 268 forks source link

Align data types in declare section #282

Open edlangton opened 2 years ago

edlangton commented 2 years ago

Would be great if there was an option to align the data types in the declaration section to assist with readability.

Example below

DECLARE @li_object_id INT,
   @li_object_type INT,
   @ls_object_name NVARCHAR(100)

Option "Align Types" formats to:

DECLARE @li_object_id    INT,
   @li_object_type       INT,
   @ls_object_name       NVARCHAR(100)

Super Tool thanks.