sql-formatter
sql-formatter copied to clipboard
Needs more options
See something like http://architectshack.com/PoorMansTSqlFormatter.ashx
dbBeaver has an 'external' formatter option where you can just pass it the command to format and it will pipe over your SQL, run the formatter and send it back.
Hi @jimpriest thank you for the feedback but could you point me out why the plugin is a disadvantage when compared with the external
in Dbeaver? We can actually do whatever we want with the JavaScript, even run the command line or put the content over the internet. This plugin has pretty much anything for it. We can easily modify it and install it to TablePlus.
Maybe I'm missing something but there are no formatting options for either the internal or plugin formatter in TablePlus??
I want options like comma first so I can take:
select foo, bar
and make it
select foo
, bar
See the examples here and how they change the formatting: http://poorsql.com/
What does "Run Custom Script" do in the same plugins menu? Can I run a bash script or something from that? Going to look at your plugin source and see if I can figure out how to maybe customize it
We can actually do whatever we want with the JavaScript, even run the command line or put the content over the internet.
Is there an explanation about how/where to do it?