wagonhq / feedback

A place to discuss Wagon features and fixes, join us on Slack at
http://band.wagonhq.com
6 stars 0 forks source link

autoformat sql queries #10

Open grano opened 8 years ago

NickRoss commented 8 years ago

I was going to put something down along this same lines:

Something like this:

http://www.sqlinform.com/

hernamesbarbara commented 8 years ago

I'd love to see this in Wagon!

@NickRoll - SQL in Form is really cool. They thought thru user prefs really nicely with this web app - http://www.sqlinform.com/sql_formatter_online.html

Flexibility is super important. e.g. I always put commas at the beginning of the line, so I'd only use a SQL-prettifier if it would let me do it that way.

Thx for sharing the link.

iveksl2 commented 8 years ago

:+1:

diwu1989 commented 8 years ago

wagon is used by multiple people on my team and instead of trying to teach everyone what the company style guide is for SQL (if there is even such a thing), just saying "click the autoformat button" is way easier to enforce