public inbox for [email protected]  
help / color / mirror / Atom feed
Patch for External formatting utility description
2+ messages / 2 participants
[nested] [flat]

* Patch for External formatting utility description
@ 2015-12-18 18:41 Susan Douglas <[email protected]>
  2016-01-04 05:20 ` Re: Patch for External formatting utility description Ashesh Vashi <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Susan Douglas @ 2015-12-18 18:41 UTC (permalink / raw)
  To: pgadmin-hackers; +Cc: Akshay Joshi <[email protected]>; Ashesh Vashi <[email protected]>; Dave Page <[email protected]>

Hi All,

I’ve attached a patch that adds a description of the External formatting utility field to the options-query_tool.rst file, and a new set of screenshots for the options dialog.

Thanks!

— Susan






-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


Attachments:

  [application/octet-stream] external_formatting.patch (1.4K, 2-external_formatting.patch)
  download | inline diff:
diff --git a/docs/en_US/options-query_tool.rst b/docs/en_US/options-query_tool.rst
index bb3f0af..1e0d20b 100644
--- a/docs/en_US/options-query_tool.rst
+++ b/docs/en_US/options-query_tool.rst
@@ -27,6 +27,17 @@ Use the fields on the *Query editor* dialog to specify workspace preferences for
 
 * **Keywords in uppercase** - Check the box next to *Keywords in uppercase* to instruct the Query tool to convert any keywords entered to an uppercase font.
 
+* **External formatting utility** - Use the *External formatting utility* field to provide the name of a formatting tool that can be used to make queries more readable.  Use of a tool that provides support for UTF-8 multi-byte characters is not required, but is preferable.    The utility must:
+
+  * Accept a STDIN stream and write the result set to STDOUT
+  * Provide a result in less than 3 seconds
+  * Exit with a code 0 on success
+
+  To use an external formatting tool in the Query Editor:
+
+  * Provide the name of the formatting tool in the *External formatting utility* field of the *Options* dialogue.
+  * In the Query Editor, select a block of text for formatting, and Press Ctrl+Shift+f, or navigate through the *Edit* menu to the *Format* menu, and select *External Format*.
+
 .. image:: images/options-colours.png
 
 Use the fields displayed on the *Colours* dialog to select colours for items displayed in the Query tool:


  [application/zip] options_screenshots.zip (501.0K, 4-options_screenshots.zip)
  download

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Patch for External formatting utility description
  2015-12-18 18:41 Patch for External formatting utility description Susan Douglas <[email protected]>
@ 2016-01-04 05:20 ` Ashesh Vashi <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Ashesh Vashi @ 2016-01-04 05:20 UTC (permalink / raw)
  To: Susan Douglas <[email protected]>; +Cc: pgadmin-hackers; Akshay Joshi <[email protected]>; Dave Page <[email protected]>

On Sat, Dec 19, 2015 at 12:11 AM, Susan Douglas <
[email protected]> wrote:

> Hi All,
>
> I’ve attached a patch that adds a description of the External formatting
> utility field to the options-query_tool.rst file, and a new set of
> screenshots for the options dialog.
>

Thanks - committed!

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company
<http://www.enterprisedb.com;


*http://www.linkedin.com/in/asheshvashi*
<http://www.linkedin.com/in/asheshvashi;


>
> Thanks!
>
> — Susan
>
>
>
>
>
>


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2016-01-04 05:20 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-12-18 18:41 Patch for External formatting utility description Susan Douglas <[email protected]>
2016-01-04 05:20 ` Ashesh Vashi <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox