Author: ab226828
Date: 2011-03-15 12:36:18 +0100 (Tue, 15 Mar 2011)
New Revision: 25394
Log:
Added info on sql query formatting options.
Modified:
trunk/workbench/sql-development.xml
Modified: trunk/workbench/sql-development.xml
===================================================================
--- trunk/workbench/sql-development.xml 2011-03-15 08:24:20 UTC (rev 25393)
+++ trunk/workbench/sql-development.xml 2011-03-15 11:36:18 UTC (rev 25394)
Changed blocks: 2, Lines Added: 71, Lines Deleted: 3; 2770 bytes
@@ -261,11 +261,20 @@
<title>Main Menu</title>
<para>
- When a SQL Editor tab is selected the most important item on the
- main menu bar is <guimenu>Query</guimenu>. The Query item
- features the following menu items:
+ When a SQL Editor tab is selected the most important items on
+ the main menu bar are the <guimenu>Query</guimenu> and <guimenu>
+ Edit</guimenu> menu items. Each of these is discussed further in
+ the following sections.
</para>
+ <para>
+ <emphasis role="bold">Query Menu Item</emphasis>
+ </para>
+
+ <para>
+ The Query item features the following menu items:
+ </para>
+
<itemizedlist>
<listitem>
@@ -368,6 +377,65 @@
</itemizedlist>
+ <para>
+ <emphasis role="bold">Edit Menu Item</emphasis>
+ </para>
+
+ <para>
+ The Edit menu item features the Format menu item. The Format
+ menu item includes the following menu items that are of
+ importance when in SQL Editor mode:
+ </para>
+
+ <itemizedlist>
+
+ <listitem>
+ <para>
+ <guimenu>Beautify Query</guimenu> - this option will take
+ the query selected in the query tab and lay it out in a
+ nicely indented fashion.
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ <guimenu>UPCASE Keywords</guimenu> - converts keywords to
+ upper case in the currently selected query in the query tab.
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ <guimenu>lowercase Keywords</guimenu> - converts keywords to
+ lower case in the currently selected query in the query tab.
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ <guimenu>Indent Lines</guimenu> - indents the lines selected
+ in the query tab.
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ <guimenu>Unindent Lines</guimenu> - unindents the lines
+ selected in the query tab.
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ <guimenu>Un/Comment Selection</guimenu> - comments the lines
+ currently selected in the query tab. If the lines are
+ already commented out this operation will remove the
+ comments.
+ </para>
+ </listitem>
+
+ </itemizedlist>
+
</section>
<section id="wb-sql-editor-toolbar">
| Thread |
|---|
| • svn commit - mysqldoc@oter02: r25394 - trunk/workbench | tony.bedford | 15 Mar |