Format SQL (external tool)

From: Shane StClair <shane(at)axiomalaska(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: Format SQL (external tool)
Date: 2014-01-31 22:17:20
Message-ID: CAPyomk6xExAM1GxLf9vM-CFsiEj-mfck768pEtDwH5ePRjHA=g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers pgadmin-support

Hi list,

Just suggesting an idea. It would be really nice to be able to configure an
external command to format SQL in pgAdmin. After configuring the external
tool path in prefs, user hits a key combo (Shift-Ctrl F?) and the
highlighted query text (or all text if none highlighted) gets run through
the formatter and replaces the original text in the query window. Would be
flexible for the user and seems fairly simple to implement in pgAdmin. Just
a thought!

Thanks,
Shane

--
Shane StClair
Software Engineer
Axiom Consulting & Design
http://www.axiomalaska.com

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message J.F. Oster 2014-02-01 18:06:01 Re: Format SQL (external tool)
Previous Message Dave Page 2014-01-31 13:56:45 Re: Fixed some compiler warnings

Browse pgadmin-support by date

  From Date Subject
Next Message J.F. Oster 2014-02-01 18:06:01 Re: Format SQL (external tool)
Previous Message fankotor 2014-01-31 08:24:33 Select data in in pgadmin 1.18