Skip to content

Needs more options #1

Description

@jimpriest

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.

Activity

  1. huyphams commented on Jan 5, 2020

    @huyphams
    Contributor

    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.

  2. jimpriest commented on Jan 8, 2020

    @jimpriest
    Author

    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/

  3. jimpriest commented on Jan 16, 2020

    @jimpriest
    Author

    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

  4. jorisatabix commented on Mar 23, 2020

    @jorisatabix

    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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions