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
964 stars 267 forks source link

Add format feature to not ident on extra conditions after first WHERE condition #290

Open JannemanDev opened 11 months ago

JannemanDev commented 11 months ago

Currently it formats it like this:

select *
from table
where col1='123'
    and col2='456'
    and col3='876'

and it's not possible to have it like this

select *
from table
where col1='123'
and col2='456'
and col3='876'

Would be nice to have a format feature in settings that supports this.