Hotkeys and shortcuts for Delphi

(Total 194)

Esc
General
Selects parent control in design mode. Left mouse click + Escape drags the parent control
↑   Shift + Mouse left click
General
After selecting control in form designer, click on it with Shift again to select top most parent Form
⭾ Tab
General
In Object Inspector activates incremental search for properties. Press again Tab to move focus to property value
Ctrl + J
General
Invoke code templates also called code snippets
Ctrl + T
General
Delete text from cursor position until end of word
Ctrl + E
General
Incremental search
Ctrl + Y
General
Delete current line
Ctrl + B
General
Invoke buffer window when focus is on editor. The buffer window shows a list of all different tabs.
Ctrl + ↑   Shift + G
General
Insert a new GUID at the cursor position
Ctrl + ↑   Shift + I
General
Indent the current selected block
Ctrl + ↑   Shift + U
General
Unindent the current selected block
Ctrl + K + I
General
Indent the current selected block or current line in case of no selection
Ctrl + K + U
General
Unindent the current selected block or current line in case of no selection
Ctrl + ↑   Shift + J
General
Invoke SyncEdit
Ctrl + ↑   Shift + V
General
Automatically declare variable at cursor position
Ctrl + ↑   Shift + Y
General
Delete to the end of line
Alt + [
General
Match pair forward
Alt + ]
General
Match pair backward
Alt +
General
Browse forward (hotlink history)
Alt +
General
Browse backward (hotlink history)
Alt +
General
Browse to symbol under editor cursor (invoke a hotlink and add it to the hotlink history)
F4
General
Run program to current cursor position
F5
General
Toggle breakpoint
F7
General
Debugger step into
↑   Shift + F7
General
Trace into next source line
F8
General
Debugger step over
↑   Shift + F8
General
Run until return
F9
General
Run program under debugger
Ctrl + F2
General
Program Reset
Ctrl + F7
General
Evaluate/modify
Ctrl + F5
General
Add Watch
Ctrl + F12
General
View units
Alt + G
General
Goto line number in editor
Ctrl + O + G
General
Goto line number in editor
Ctrl + ↑   Shift + R
General
Start/stop recording editor macro
Ctrl + ↑   Shift + P
General
Play editor macro
Ctrl + Space
General
Invoke code completion
Ctrl + ↑   Shift + Space
General
Invoke code parameter hints
Ctrl + ⤶ Enter
General
Open file at cursor
Ctrl + ↑   Shift + ⤶ Enter
General
Find all references
Ctrl + ↑   Shift + C
General
Invoke class completion for the class that currently contains the cursor
Ctrl + ↑   Shift +
General
Navigate to method implementation/declaration
Ctrl + ↑   Shift +
General
Navigate to method implementation/declaration
Ctrl + ↑   Shift + 1 - 9
General
Set a bookmark at current row in the source
Ctrl + 1 - 9
General
Go to a bookmark row in the source
Ctrl + Alt + F12
General
Opens the drop-down on the top-right corner of the code editor, listing all open files
Ctrl + Alt + Mouse movement
General
Wheel  Navigate to previous or next method implementation in lexical order in this source unit, or within the class to which scope has been limited using Ctrl + Q + L
Ctrl + Alt +
General
Navigate to previous method implementation in lexical order in this source unit, or within the class to which scope has been limited using Ctrl + Q + L
Ctrl + Alt +
General
Navigate to next method implementation in lexical order in this source unit, or within the class to which scope has been limited using Ctrl + Q + L
Ctrl + Alt + Home
General
Navigate to the lexically first method implementation in this source unit, or within the class to which scope has been limited using Ctrl + Q + L
Ctrl + Alt + End
General
Navigate to the lexically last method implementation in this source unit, or within the class to which scope has been limited using Ctrl + Q + L
Ctrl + Alt + P
General
Activate the Tool Palette in filtering mode (start typing, press Enter to drop component)
Ctrl + Alt + A
General
Adds current date to source code
Ctrl + /
General
Toggle comment per line or selected block and cursors goes down one line, Ctrl  +  # on nordic (and perhaps other international ) keyboards
Ctrl + ↑   Shift + T
General
Add todo list item
Alt + F12
General
Toggle between Form as text mode or design mode
Alt + F11
General
Invoke Use unit dialog
Ctrl + F11
General
Invoke Open Project Dialog
Ctrl + Alt + F11
General
Invoke Project manager window
F11
General
Invoke Object Inspector window
F12
General
Toggle between code view and design view
Alt + 0
General
Invoke Window list
↑   Shift + Alt + F11
General
Invoke Structure window
Ctrl + ↑   Shift + B
General
Invoke Browser window
Ctrl + Alt + B
General
Invoke Breakpoint window
Ctrl + Alt + S
General
Invoke Call Stack window
Ctrl + Alt + W
General
Invoke Watches window
Ctrl + Alt + L
General
Invoke Local Variables window
Ctrl + Alt + T
General
Invoke Threads window
Ctrl + Alt + F
General
Invoke FPU window
Ctrl + Alt + C
General
Invoke CPU window
Ctrl + Alt + V
General
Invoke Event window
Ctrl + Alt + M
General
Invoke Modules window
↑   Shift + F12
General
Invoke Forms window
Ctrl + ↑   Shift + A
General
Invoke Add to uses clause(Find unit in Delphi 2006) window (Refactoring)
Ctrl + ↑   Shift + F11
General
Invoke Project Options window
Ctrl + F9
General
Compile Project
↑   Shift + F9
General
Build Project
↑   Shift + F11
General
Invoke Add to project window
↑   Shift + Ctrl + F9
General
Run without debugging
Ctrl + F
General
Find
↑   Shift + Ctrl + F
General
Find in Files
Alt + F7
General
Previous/next result (for Find in Files and Build Error Messages)
Ctrl + K + E
General
Changes a word to lowercase and deselects selection
Ctrl + K + F
General
Changes a word to uppercase and deselects selection
Ctrl + K + O
General
Changes a word to lowercase
Ctrl + K + N
General
Changes a word to uppercase
Ctrl + O + U
General
Toggles case
Ctrl + ↑   Shift + K + O
General
Toggles Code folding between On and Off
Ctrl + ↑   Shift + K + A
General
Code folding: Expands All blocks of code
Ctrl + ↑   Shift + K + E
General
Code folding: Collapse current block of code
Ctrl + ↑   Shift + K + U
General
Code folding: Expand current block of code
Ctrl + ↑   Shift + K + T
General
Code folding: Toggle Current block (expand & collapse)
Ctrl + ↑   Shift + K + R
General
Code folding: Collapses all regions {$region 'comment'}..{$endregion}
Ctrl + ↑   Shift + K + P
General
Code folding: Collapse nested procedures
Ctrl + ↑   Shift + K + M
General
Code folding: Collapse all methods
Ctrl + ↑   Shift + K + C
General
Code folding: Collapse all classes
Ctrl + ↑   Shift + K + G
General
Code folding: Collapses down to primary Groups [Interface/Implementation]
Ctrl + ↑   Shift + K + N
General
Code folding: Collapses Namespace/Unit
Ctrl + ⭾ Tab
General
Switch to the next open file in the editor
Ctrl + ↑   Shift + ⭾ Tab
General
Switch to the previous open file in the editor
Ctrl + K + P
General
Invokes print selection dialog
Ctrl + K + W
General
Invokes Write block to file(selected text)
Ctrl + K + R
General
Invokes Read block from file(inserts text at cursor)
Ctrl + K + C
General
Copies selected text at the end of the selection
Ctrl + K + T
General
Select word at cursor position
Ctrl + O + C
General
Turns on block selection mode
Ctrl + O + L
General
Selects current line (and turns off block selection mode)
Ctrl + Q + L
General
Toggles between limiting the Ctrl + Alt navigation shortcuts to the current class, or limiting it to the current unit
Ctrl + Q + W
General
Go to next item of Messages window
Ctrl + F6
General
Switches between source (.cpp) and header (.h)
Alt + ⬅ Backspace
General
Undo
Alt + F10
General
Display Popup menu
Alt + ↑   Shift +
General
Moves the cursor down one line and selects the column from the left of the starting cursor position
Alt + ↑   Shift + End
General
Selects the column from the cursor position to the end of the current line
Alt + ↑   Shift + Home
General
Selects the column from the cursor position to the start of the current line
Alt + ↑   Shift +
General
Selects the column to the left of the cursor
Alt + Shift + Page Down
General
Moves the cursor down one line and selects the column from the right of the starting cursor position
Alt + Shift + Page Up
General
Moves the cursor up one screen and selects the column from the left of the starting cursor position
Alt + ↑   Shift +
General
Selects the column to the right of the cursor
Alt + ↑   Shift +
General
Moves the cursor up one line and selects the column from the left of the starting cursor position
Alt + X
General
Cut word under cursor / current selected block
Ctrl + C
General
Copy word under Cursor / selected block
Ctrl + A
General
Select all
Ctrl + ⬅ Backspace
General
Delete the word to the beginning
Ctrl + D
General
Deletes a currently selected block
Ctrl +
General
Scrolls down one line
Ctrl + End
General
Moves to the end of a file
Ctrl + F1
General
Topic Search
Ctrl + F10
General
Open Main Menu
Ctrl + Home
General
Moves to the top of a file
Ctrl + H
General
Replace Dialog
Ctrl + I
General
Inserts a tab character
Ctrl + Insert
General
Copy selected Block
Ctrl + L
General
Find again
Ctrl +
General
Moves one word left
Ctrl + M
General
Insert new line (same as Enter)
Ctrl + N
General
Insert new line after cursor (cursor stays in current line)
Ctrl + O + A
General
Open file at cursor
Ctrl + O + B
General
Browse symbol at cursor
Ctrl + O + O
General
Inserts compiler options and directives
Ctrl + Page Down
General
Moves to the bottom of a screen
Ctrl + Page Up
General
Moves to the top of a screen
Ctrl + Q + A
General
Search Replace Dialog
Ctrl + Q + B
General
Moves cursor to the beginning of a block
Ctrl + Q + C
General
Moves cursor to end of a file
Ctrl + Q + D
General
Moves cursor to the end of a line
Ctrl + Q + E
General
Moves cursor to the top of the window
Ctrl + Q + F
General
Search Find Dialog
Ctrl + Q + K
General
Moves cursor to the end of a block
Ctrl + Q + P
General
Moves cursor to previous position
Ctrl + Q + R
General
Moves cursor to the beginning of a file
Ctrl + Q + S
General
Moves cursor to the beginning of a line
Ctrl + Q + T
General
Moves cursor to the top of the window
Ctrl + Q + U
General
Moves cursor to the bottom of the window
Ctrl + Q + X
General
Moves cursor to the bottom of the window
Ctrl + Q + Y
General
Deletes to the end of Line
Ctrl + R
General
Replace Dialog
Ctrl +
General
Moves one word right
Ctrl + S
General
Save
Ctrl + ↑   Shift + S
General
Save All
Ctrl + ↑   Shift + End
General
Selects from the cursor position to the end of the current file
Ctrl + ↑   Shift + Home
General
Selects from the cursor position to the start of the current file
Ctrl + ↑   Shift +
General
Selects the word to the left of the cursor
Ctrl + Shift + Page Down
General
Selects from the cursor position to the bottom of the screen
Ctrl + Shift + Page Up
General
Selects from the cursor position to the top of the screen
Ctrl + ↑   Shift +
General
Selects the word to the right of the cursor
Ctrl + ↑   Shift + Z
General
Redo
Ctrl +
General
Scrolls up one line
Ctrl + V
General
Paste
Ctrl + Z
General
Undo
F1
General
Display Help
F3
General
Find again
Insert
General
Insert Mode on / off
↑   Shift +
General
Moves the cursor down one line and selects from the right of the starting cursor position.
↑   Shift + End
General
Selects from the cursor position to the end of the current line
↑   Shift + ⤶ Enter
General
Inserts a new line with a carriage return
↑   Shift + Home
General
Selects from the cursor position to the start of the current line
↑   Shift + Insert
General
Paste from clipboard
↑   Shift +
General
Selects the character to the left of the cursor
Shift + Page Down
General
Moves the cursor down one line and selects from the right of the starting cursor position
Shift + Page Up
General
Moves the cursor up one screen and selects from the left of the starting cursor position
↑   Shift +
General
Selects the character to the right of the cursor
↑   Shift + ⭾ Tab
General
Moves the cursor to the left one tab position
↑   Shift +
General
Moves the cursor up one line and selects from the left of the starting cursor position
Ctrl + Alt + ↑   Shift + End
General
Selects the column from the cursor position to the end of the current file
Ctrl + Alt + ↑   Shift + Home
General
Selects the column from the cursor position to the start of the current file
Ctrl + Alt + ↑   Shift +
General
Selects the column to the left of the cursor
Ctrl + Alt + Shift + Page Down
General
Selects the column from the cursor position to the top of the screen
Ctrl + Alt + Shift + Page Up
General
Selects the column from the cursor position to the bottom of the screen
Ctrl + Alt + ↑   Shift +
General
Selects the column to the right of the cursor
AltGr + F12
General
Select editor window tab
F6
General
IDE Insight
Ctrl + .
General
IDE Insight