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

Option: Make possible do like Sql style guide from Simon Holywell #256

Open GitClickOk opened 4 years ago

GitClickOk commented 4 years ago

Basically it's "river" like formatting, with main keywords in left of the "river" and the details in right of he "river":

SELECT first_name AS fn
  FROM staff AS s1
  JOIN students AS s2
    ON s2.mentor_id = s1.staff_num;

You can see the full reference here: https://www.sqlstyle.guide/ and here: https://github.com/treffynnon/sqlstyle.guide/blob/gh-pages/_includes/sqlstyle.guide.md.

spike1234 commented 4 years ago

I'd like that too! +1

TripHumphrey commented 3 years ago

Yes please!

MattH-Work commented 2 years ago

+1