2016-09-22 06:42:06 -05:00
|
|
|
******************
|
|
|
|
Keyboard Shortcuts
|
|
|
|
******************
|
|
|
|
|
2018-02-05 09:32:14 -06:00
|
|
|
Keyboard shortcuts are provided in pgAdmin to allow easy access to specific
|
|
|
|
functions. Alternate shortcuts can be configured through File > Preferences if
|
2018-02-09 06:43:27 -06:00
|
|
|
desired.˝
|
2016-09-22 06:42:06 -05:00
|
|
|
|
2018-02-02 07:28:37 -06:00
|
|
|
**Main Browser Window**
|
|
|
|
|
|
|
|
When using main browser window, the following keyboard shortcuts are available:
|
|
|
|
|
|
|
|
+---------------------------+--------------------------------------------------------+
|
|
|
|
| Shortcut for all platform | Function |
|
|
|
|
+===========================+========================================================+
|
|
|
|
| Alt+Shift+F | Open the File menu |
|
|
|
|
+---------------------------+--------------------------------------------------------+
|
|
|
|
| Alt+Shift+O | Open the Object menu |
|
|
|
|
+---------------------------+--------------------------------------------------------+
|
|
|
|
| Alt+Shift+L | Open the Tools menu |
|
|
|
|
+---------------------------+--------------------------------------------------------+
|
|
|
|
| Alt+Shift+H | Open the Help menu |
|
|
|
|
+---------------------------+--------------------------------------------------------+
|
|
|
|
| Alt+Shift+B | Focus the browser tree |
|
|
|
|
+---------------------------+--------------------------------------------------------+
|
|
|
|
| Alt+Shift+[ | Move tabbed panel backward/forward |
|
|
|
|
| Alt+Shift+] | |
|
|
|
|
+---------------------------+--------------------------------------------------------+
|
2018-02-09 06:07:57 -06:00
|
|
|
| Alt+Shift+Q | Open the Query Tool in the current database |
|
|
|
|
+---------------------------+--------------------------------------------------------+
|
|
|
|
| Alt+Shift+V | View Data in the selected table/view |
|
|
|
|
+---------------------------+--------------------------------------------------------+
|
|
|
|
| Alt+Shift+C | Open the context menu |
|
|
|
|
+---------------------------+--------------------------------------------------------+
|
|
|
|
| Alt+Shift+N | Create an object |
|
|
|
|
+---------------------------+--------------------------------------------------------+
|
|
|
|
| Alt+Shift+E | Edit object properties |
|
|
|
|
+---------------------------+--------------------------------------------------------+
|
|
|
|
| Alt+Shift+D | Delete the object |
|
|
|
|
+---------------------------+--------------------------------------------------------+
|
|
|
|
| Alt+Shift+G | Direct debugging |
|
|
|
|
+---------------------------+--------------------------------------------------------+
|
2018-01-25 06:27:13 -06:00
|
|
|
|
2016-09-22 06:42:06 -05:00
|
|
|
**SQL Editors**
|
|
|
|
|
|
|
|
When using the syntax-highlighting SQL editors, the following shortcuts are available:
|
|
|
|
|
|
|
|
+--------------------------+------------------+-------------------------------------+
|
|
|
|
| Shortcut (Windows/Linux) | Shortcut (Mac) | Function |
|
|
|
|
+==========================+==================+=====================================+
|
|
|
|
| Alt+Left | Option+Left | Move to the beginning of the line |
|
|
|
|
+--------------------------+------------------+-------------------------------------+
|
|
|
|
| Alt+Right | Option+Right | Move to the end of the line |
|
|
|
|
+--------------------------+------------------+-------------------------------------+
|
|
|
|
| Ctrl+Alt+Left | Cmd+Option+Left | Move left one word |
|
|
|
|
+--------------------------+------------------+-------------------------------------+
|
|
|
|
| Ctrl+Alt+Right | Cmd+Option+Right | Move right one word |
|
|
|
|
+--------------------------+------------------+-------------------------------------+
|
2017-08-21 09:27:29 -05:00
|
|
|
| Ctrl+/ | Cmd+/ | Comment selected code (Inline) |
|
2017-07-19 05:43:45 -05:00
|
|
|
+--------------------------+------------------+-------------------------------------+
|
2017-08-21 09:27:29 -05:00
|
|
|
| Ctrl+. | Cmd+. | Uncomment selected code (Inline) |
|
2017-07-19 05:43:45 -05:00
|
|
|
+--------------------------+------------------+-------------------------------------+
|
2017-08-21 09:27:29 -05:00
|
|
|
| Ctrl+Shift+/ | Cmd+Shift+/ | Comment/Uncomment code (Block) |
|
2017-07-19 05:43:45 -05:00
|
|
|
+--------------------------+------------------+-------------------------------------+
|
2016-09-22 06:42:06 -05:00
|
|
|
| Ctrl+A | Cmd+A | Select all |
|
|
|
|
+--------------------------+------------------+-------------------------------------+
|
|
|
|
| Ctrl+C | Cmd+C | Copy selected text to the clipboard |
|
|
|
|
+--------------------------+------------------+-------------------------------------+
|
|
|
|
| Ctrl+R | Cmd+R | Redo last edit un-done |
|
|
|
|
+--------------------------+------------------+-------------------------------------+
|
|
|
|
| Ctrl+V | Cmd+V | Paste text from the clipboard |
|
|
|
|
+--------------------------+------------------+-------------------------------------+
|
|
|
|
| Ctrl+Z | Cmd+Z | Undo last edit |
|
|
|
|
+--------------------------+------------------+-------------------------------------+
|
2017-07-05 08:20:19 -05:00
|
|
|
| Tab | Tab | Indent selected text |
|
|
|
|
+--------------------------+------------------+-------------------------------------+
|
|
|
|
| Shift+Tab | Shift+Tab | Un-indent selected text |
|
|
|
|
+--------------------------+------------------+-------------------------------------+
|
2018-01-25 06:27:13 -06:00
|
|
|
| <accesskey> + y | <accesskey> + y | Copy SQL on history panel |
|
|
|
|
+--------------------------+------------------+-------------------------------------+
|
|
|
|
|
2016-09-22 06:42:06 -05:00
|
|
|
|
|
|
|
**Query Tool**
|
|
|
|
|
|
|
|
When using the Query Tool, the following shortcuts are available:
|
|
|
|
|
2016-11-24 09:38:30 -06:00
|
|
|
+--------------------------+--------------------+-----------------------------------+
|
|
|
|
| Shortcut (Windows/Linux) | Shortcut (Mac) | Function |
|
|
|
|
+==========================+====================+===================================+
|
|
|
|
| F5 | F5 | Execute query |
|
|
|
|
+--------------------------+--------------------+-----------------------------------+
|
|
|
|
| F7 | F7 | EXPLAIN query |
|
|
|
|
+--------------------------+--------------------+-----------------------------------+
|
|
|
|
| Shift+F7 | Shift+F7 | EXPLAIN ANALYZE query |
|
|
|
|
+--------------------------+--------------------+-----------------------------------+
|
|
|
|
| F8 | F8 | Execute query to CSV file |
|
|
|
|
+--------------------------+--------------------+-----------------------------------+
|
|
|
|
| Alt+G | Alt+G | Jump (to line:column) |
|
|
|
|
+--------------------------+--------------------+-----------------------------------+
|
|
|
|
| Ctrl+Space | Ctrl+Space | Auto-complete |
|
|
|
|
+--------------------------+--------------------+-----------------------------------+
|
|
|
|
| Ctrl+F | Cmd+F | Find |
|
|
|
|
+--------------------------+--------------------+-----------------------------------+
|
|
|
|
| Ctrl+G | Cmd+G | Find next |
|
|
|
|
+--------------------------+--------------------+-----------------------------------+
|
2017-07-26 06:50:42 -05:00
|
|
|
| Ctrl+Shift+G | Cmd+Shift+G | Find previous |
|
2016-11-24 09:38:30 -06:00
|
|
|
+--------------------------+--------------------+-----------------------------------+
|
2017-07-26 06:50:42 -05:00
|
|
|
| Ctrl+Shift+F | Cmd+Shift+F | Replace |
|
2016-11-24 09:38:30 -06:00
|
|
|
+--------------------------+--------------------+-----------------------------------+
|
2018-01-25 06:27:13 -06:00
|
|
|
| <accesskey> + y | <accesskey> + y | Copy SQL on history panel |
|
|
|
|
+--------------------------+--------------------+-----------------------------------+
|
|
|
|
|
2018-01-23 05:58:10 -06:00
|
|
|
|
|
|
|
**Debugger**
|
|
|
|
|
|
|
|
When using the Debugger, the following shortcuts are available:
|
|
|
|
|
2018-01-25 06:27:13 -06:00
|
|
|
+--------------------------+--------------------+-----------------------------------+
|
|
|
|
| Shortcut (Windows/Linux) | Shortcut (Mac) | Function |
|
|
|
|
+==========================+====================+===================================+
|
|
|
|
| <accesskey> + i | <accesskey> + i | Step in |
|
|
|
|
+--------------------------+--------------------+-----------------------------------+
|
|
|
|
| <accesskey> + o | <accesskey> + o | Step over |
|
|
|
|
+--------------------------+--------------------+-----------------------------------+
|
|
|
|
| <accesskey> + c | <accesskey> + c | Continue/Restart |
|
|
|
|
+--------------------------+--------------------+-----------------------------------+
|
|
|
|
| <accesskey> + t | <accesskey> + t | Toggle breakpoint |
|
|
|
|
+--------------------------+--------------------+-----------------------------------+
|
|
|
|
| <accesskey> + x | <accesskey> + x | Clear all breakpoints |
|
|
|
|
+--------------------------+--------------------+-----------------------------------+
|
|
|
|
| <accesskey> + s | <accesskey> + s | Stop |
|
|
|
|
+--------------------------+--------------------+-----------------------------------+
|
2018-02-09 06:43:27 -06:00
|
|
|
| Alt + Shift + q | Alt + Shift + q | Enter or Edit values in Grid |
|
2018-01-25 06:27:13 -06:00
|
|
|
+--------------------------+--------------------+-----------------------------------+
|
|
|
|
|
|
|
|
|
|
|
|
**Inner panel navigation**
|
|
|
|
|
|
|
|
When using the Query Tool and Debugger, the following shortcuts are available for inner panel navigation:
|
|
|
|
|
2018-01-23 05:58:10 -06:00
|
|
|
+--------------------------+---------------------------+------------------------------+
|
|
|
|
| Shortcut (Windows/Linux) | Shortcut (Mac) | Function |
|
|
|
|
+==========================+===========================+==============================+
|
|
|
|
| Alt + Shift + Right Arrow| Alt + Shift + Right Arrow | Move to next inner panel |
|
|
|
|
+--------------------------+---------------------------+------------------------------+
|
|
|
|
| Alt + Shift + Left Arrow | Alt + Shift + Left Arrow | Move to previous inner panel |
|
|
|
|
+--------------------------+---------------------------+------------------------------+
|
2018-01-25 06:27:13 -06:00
|
|
|
|
2018-01-23 05:58:10 -06:00
|
|
|
|
|
|
|
.. note:: <accesskey> is browser and platform dependant. The following table lists the default access keys for supported browsers.
|
|
|
|
|
2018-01-25 06:27:13 -06:00
|
|
|
|
2018-01-23 05:58:10 -06:00
|
|
|
+-------------------+------------+------------+------------+
|
|
|
|
| | Windows | Linux | Mac |
|
|
|
|
+===================+============+============+============+
|
|
|
|
| Internet Explorer | Alt | Alt | |
|
|
|
|
+-------------------+------------+------------+------------+
|
|
|
|
| Chrome | Alt | Alt | Ctrl+Alt |
|
|
|
|
+-------------------+------------+------------+------------+
|
|
|
|
| Firefox | Alt+Shift | Alt+Shift | Ctrl+Alt |
|
|
|
|
+-------------------+------------+------------+------------+
|
|
|
|
| Safari | Alt | | Ctrl+Alt |
|
|
|
|
+-------------------+------------+------------+------------+
|