There are many ways to customize the behavior of editable panes; the editor options can be set in the Options window under the Editor tab. These options include:
Editor Option |
Description |
---|---|
Use tab characters |
Specify whether to use the tab character (ASCII 9) instead of spaces. |
Smart tab |
Specify whether to tab to align the next non-whitespace character of the preceding line. |
Use lowercase for object name |
Specify whether to use lowercase for object names. |
Specify whether to change to a block cursor for overwrite mode. Overwrite mode will overwrite existing text when is text entered at the cursor. You can toggle between Insert and Overwrite mode using the Insert key. | |
Show all characters |
Specify whether to show all characters including spaces, new lines and tabs. |
Right margin |
Specify whether to show the right margin and define the width. |
Gutter |
Specify whether to show the gutter and line number, and define the gutter width. |
Specify the block indent character size. | |
Tab size |
Specify the tab character length. |
The following list is the common shortcut keys provided for users to quickly accomplish tasks that is performed frequently within the Editor panes for SQL Editor and SQL Formatter window.
Action |
Shortcut Keys |
---|---|
Delete next word |
Ctrl+Delete |
Delete previous word |
Ctrl+Backspace |
Delete next character |
Delete |
Delete previous character |
Backspace |
Delete current line |
Ctrl+Y |
Highlight a word |
Shift+Ctrl+Left or Right Arrow |
Highlight a character |
Shift+Left or Right Arrow |
Cursor forward a word |
Ctrl+Right Arrow |
Cursor backward a word |
Ctrl+Left Arrow |
Insert mode |
Insert |
Insert a new line character |
Shift+Ctrl+M |
Bring up Member Lookup |
Ctrl+Spacebar |
Bring up Argument Lookup |
Shift+Ctrl+Spacebar |
Comment |
Shift+Ctrl+C |
Uncomment |
Shift+Ctrl+N |
Indent |
Shift+Ctrl+I |
Outdent |
Shift+Ctrl+O |
Uppercase |
Shift+Ctrl+U |
Lowercase |
Shift+Ctrl+L |
Quick Find |
Ctrl+Alt+F |
Find |
Ctrl+F |
Find Next |
F3 |
Replace |
Ctrl+Alt+R |
Go to Line |
Ctrl+Alt+G |
Select All |
Ctrl A |
Cut |
Ctrl X |
Copy |
Ctrl C |
Paste |
Ctrl V |
Undo |
Ctrl Z |
Save |
Ctrl S |
The text can be shifted from left to right or right to left using the Indent and Outdent functions. The number of characters shifted is dependent on the Block indent step size (default = 3 characters) parameter in the Options window.
Highlight the text or place the cursor at the line needed to be indented.
Click .
To outdent text
Highlight the text or place the cursor at the line to be outdent.
Click .
Member and argument lookup are lookup hints to help construct SQL statements.
Member lookup displays the list of database object members for schemas, tables, views and alias.; For example, if a table name or alias is typed followed by "." then the corresponding lookup hint will be the column names. CTRL+SPACE can be used as short-cut keys to bring up the member lookup.
Argument lookup displays the next argument parameter for functions and procedures. For example, if a procedure name is typed followed by "(" then the list of arguments is shown highlighting the next enterable argument. CTRL+SHIFT+SPACE can be used as short-cut keys to bring up the argument lookup.
To enable or disable the member and argument lookup
Click .
Select the Editor tab.
Under the Lookup section, select the Member lookup and/or the Argument Lookup checkboxes .
Specify whether to show the lookup hint for database object members.
Specify whether to show the argument parameters hint for functions and procedures.
Specify the minimum delay time for the lookup hint to appear.
Note: The member lookup selects the information about the database objects from the system view. Since the system view does not contain the information about temporary tables, member lookup does not find the columns in temporary tables.
© ALL RIGHTS RESERVED. 使用条款 隐私 Cookie Preference Center