|
| 1 | +--- |
| 2 | +--- |
| 3 | +<article> |
| 4 | +<h1>Delphi IDE Editor Keyboard Shortcuts</h1> |
| 5 | +<p>These keyboard shortcuts were valid as of Delphi 2006, using the default key mapping.</p> |
| 6 | +<div class="table-responsive"> |
| 7 | +<table class="table table-striped table-bordered"> |
| 8 | +<thead> |
| 9 | +<tr> |
| 10 | +<th>Key combination</th> |
| 11 | +<th>Action</th> |
| 12 | +</tr> |
| 13 | +</thead> |
| 14 | +<tbody> |
| 15 | +<tr> |
| 16 | +<td><span class="text-smallcaps">Ctrl+Jccc</span></td> |
| 17 | +<td>Invoke code templates</td> |
| 18 | +</tr> |
| 19 | +<tr> |
| 20 | +<td><span class="text-smallcaps">Ctrl+T</span></td> |
| 21 | +<td>Delete current word</td> |
| 22 | +</tr> |
| 23 | +<tr> |
| 24 | +<td><span class="text-smallcaps">Ctrl+E</span></td> |
| 25 | +<td>Incremental search</td> |
| 26 | +</tr> |
| 27 | +<tr> |
| 28 | +<td><span class="text-smallcaps">Ctrl+Y</span></td> |
| 29 | +<td>Delete current line</td> |
| 30 | +</tr> |
| 31 | +<tr> |
| 32 | +<td><span class="text-smallcaps">Ctrl+O+C</span></td> |
| 33 | +<td>Select a columnar block of text</td> |
| 34 | +</tr> |
| 35 | +<tr> |
| 36 | +<td><span class="text-smallcaps">Ctrl+O+L</span></td> |
| 37 | +<td>Normal text selection mode (use to return to normal selection behaviour after using <span class="text-smallcaps">Ctrl+O+C</span>)</td> |
| 38 | +</tr> |
| 39 | +<tr> |
| 40 | +<td><span class="text-smallcaps">Ctrl+Shift+G</span></td> |
| 41 | +<td>Insert a new GUID at the cursor position</td> |
| 42 | +</tr> |
| 43 | +<tr> |
| 44 | +<td><span class="text-smallcaps">Ctrl+Shift+I</span></td> |
| 45 | +<td>Indent the current selected block</td> |
| 46 | +</tr> |
| 47 | +<tr> |
| 48 | +<td><span class="text-smallcaps">Ctrl+Shift+U</span></td> |
| 49 | +<td>Outdent the current selected block</td> |
| 50 | +</tr> |
| 51 | +<tr> |
| 52 | +<td><span class="text-smallcaps">Ctrl+Shift+Y</span></td> |
| 53 | +<td>Delete to the end of line</td> |
| 54 | +</tr> |
| 55 | +<tr> |
| 56 | +<td><span class="text-smallcaps">Ctrl+Shift+J</span></td> |
| 57 | +<td>Invoke syncedit</td> |
| 58 | +</tr> |
| 59 | +<tr> |
| 60 | +<td><span class="text-smallcaps">Alt+[</span></td> |
| 61 | +<td>Match pair forward</td> |
| 62 | +</tr> |
| 63 | +<tr> |
| 64 | +<td><span class="text-smallcaps">Alt+]</span></td> |
| 65 | +<td>Match pair backward</td> |
| 66 | +</tr> |
| 67 | +<tr> |
| 68 | +<td><span class="text-smallcaps">Alt+RightArrow</span></td> |
| 69 | +<td>Browse forward (hotlink history)</td> |
| 70 | +</tr> |
| 71 | +<tr> |
| 72 | +<td><span class="text-smallcaps">Alt+LeftArrow</span></td> |
| 73 | +<td>Browse backward (hotlink history)</td> |
| 74 | +</tr> |
| 75 | +<tr> |
| 76 | +<td><span class="text-smallcaps">Alt+UpArrow</span></td> |
| 77 | +<td>Browse to symbol under editor cursor (invoke a hotlink and add it to the hotlink history)</td> |
| 78 | +</tr> |
| 79 | +<tr> |
| 80 | +<td><span class="text-smallcaps">F4</span></td> |
| 81 | +<td>Run program to current cursor position</td> |
| 82 | +</tr> |
| 83 | +<tr> |
| 84 | +<td><span class="text-smallcaps">F5</span></td> |
| 85 | +<td>Toggle breakpoint</td> |
| 86 | +</tr> |
| 87 | +<tr> |
| 88 | +<td><span class="text-smallcaps">F7</span></td> |
| 89 | +<td>Debugger step into</td> |
| 90 | +</tr> |
| 91 | +<tr> |
| 92 | +<td><span class="text-smallcaps">F8</span></td> |
| 93 | +<td>Debugger step over</td> |
| 94 | +</tr> |
| 95 | +<tr> |
| 96 | +<td><span class="text-smallcaps">F9</span></td> |
| 97 | +<td>Run program under debugger</td> |
| 98 | +</tr> |
| 99 | +<tr> |
| 100 | +<td><span class="text-smallcaps">Ctrl+F12</span></td> |
| 101 | +<td>View units</td> |
| 102 | +</tr> |
| 103 | +<tr> |
| 104 | +<td><span class="text-smallcaps">Alt+G</span></td> |
| 105 | +<td>Goto line number in editor</td> |
| 106 | +</tr> |
| 107 | +<tr> |
| 108 | +<td><span class="text-smallcaps">Ctrl+Shift+R</span></td> |
| 109 | +<td>Start/Stop recording editor macro</td> |
| 110 | +</tr> |
| 111 | +<tr> |
| 112 | +<td><span class="text-smallcaps">Ctrl+Shift+P</span></td> |
| 113 | +<td>Play editor macro</td> |
| 114 | +</tr> |
| 115 | +<tr> |
| 116 | +<td><span class="text-smallcaps">Ctrl+Space</span></td> |
| 117 | +<td>Invoke code completion</td> |
| 118 | +</tr> |
| 119 | +<tr> |
| 120 | +<td><span class="text-smallcaps">Ctrl+Shift+Space</span></td> |
| 121 | +<td>Invoke code parameter hints</td> |
| 122 | +</tr> |
| 123 | +<tr> |
| 124 | +<td><span class="text-smallcaps">Ctrl+Enter</span></td> |
| 125 | +<td>Open file at cursor</td> |
| 126 | +</tr> |
| 127 | +<tr> |
| 128 | +<td><span class="text-smallcaps">Ctrl+Shift+C</span></td> |
| 129 | +<td>Invoke class completion for the class that currently contains the cursor</td> |
| 130 | +</tr> |
| 131 | +<tr> |
| 132 | +<td><span class="text-smallcaps">Ctrl+Shift+UpArrow</span></td> |
| 133 | +<td>Navigate to method implementation/declaration</td> |
| 134 | +</tr> |
| 135 | +<tr> |
| 136 | +<td><span class="text-smallcaps">Ctrl+Shift+DownArrow</span></td> |
| 137 | +<td>Navigate to method implementation/declaration</td> |
| 138 | +</tr> |
| 139 | +<tr> |
| 140 | +<td><span class="text-smallcaps">Ctrl+Alt+UpArrow</span></td> |
| 141 | +<td>Navigate to previous method implementation in lexical order</td> |
| 142 | +</tr> |
| 143 | +<tr> |
| 144 | +<td><span class="text-smallcaps">Ctrl+Alt+DownArrow</span></td> |
| 145 | +<td>Navigate to next method implementation in lexical order</td> |
| 146 | +</tr> |
| 147 | +<tr> |
| 148 | +<td><span class="text-smallcaps">Ctrl+Alt+Home</span></td> |
| 149 | +<td>Navigate to the lexically first method implementation in this source unit</td> |
| 150 | +</tr> |
| 151 | +<tr> |
| 152 | +<td><span class="text-smallcaps">Ctrl+Alt+End</span></td> |
| 153 | +<td>Navigate to the lexically last method implementation in this source unit</td> |
| 154 | +</tr> |
| 155 | +<tr> |
| 156 | +<td><span class="text-smallcaps">Ctrl+/</span></td> |
| 157 | +<td>Toggle comment per line or selected block</td> |
| 158 | +</tr> |
| 159 | +</tbody> |
| 160 | +</table> |
| 161 | +</div> <!-- /.table-responsive --> |
| 162 | +</article> |
| 163 | + |
| 164 | +<nav> |
| 165 | +<p>Back to the <a href="./index.html">Delphi Notes</a> page.</p> |
| 166 | +</nav> |
0 commit comments