Show Menu
Cheatography

Delphi Shortcuts Keyboard Shortcuts (DRAFT) by

This is a draft cheat sheet. It is a work in progress and is not finished yet.

-

Alt+G
Goto line number in editor
Ctrl+O+G
Goto line number in editor
Ctrl+S­hift+R
Start/stop recording editor macro
Ctrl+S­hift+P
Play editor macro
Ctrl+S­pacebar
Invoke code completion
Ctrl+S­hif­t+S­pacebar
Invoke code parameter hints
Ctrl + Enter
Open file at cursor
Ctrl + Shift + Enter
Find all references
Ctrl + Shift + C
Invoke class completion for the class that currently contains the cursor
Ctrl + Shift +
Navigate to method implem­ent­ati­on/­dec­lar­ation
Ctrl + Shift +
Navigate to method implem­ent­ati­on/­dec­lar­ation
Ctrl + Shift + 1 - 9
Set a bookmark at current row in the source
Ctrl + 1 - 9
Go to a bookmark row in the source
Ctrl + Alt + F12
Opens the drop-down on the top-right corner of the code editor, listing all open files
Ctrl + Alt + Mouse Wheel
Navigate to previous or next method implem­ent­ation in lexical order in this source unit, or within the class to which scope has been limited using Ctrl+Q+L
Ctrl + Alt +
Navigate to previous method implem­ent­ation in lexical order in this source unit, or within the class to which scope has been limited using Ctrl+Q+L
Ctrl + Alt +
Navigate to next method implem­ent­ation in lexical order in this source unit, or within the class to which scope has been limited using Ctrl+Q+L
Ctrl + Alt + Home
Navigate to the lexically first method implem­ent­ation in this source unit, or within the class to which scope has been limited using Ctrl+Q+L
Ctrl + Alt + End
Navigate to the lexically last method implem­ent­ation in this source unit, or within the class to which scope has been limited using Ctrl+Q+L
Ctrl + Alt + P
Activate the Tool Palette in filtering mode (start typing, press Enter to drop component)
Ctrl + Alt + A
Adds current date to source code
Ctrl + /
Toggle comment per line or selected block and cursors goes down one line, Ctrl + # on nordic (and perhaps other intern­ational ) keyboards
Ctrl + Shift + T
Add todo list item
Alt + F12
Toggle between Form as text mode or design mode
Alt + F11
Invoke Use unit dialog
Ctrl + F11
Invoke Open Project Dialog
Ctrl + Alt + F11
Invoke Project manager window
F11
Invoke Object Inspector window
F12
Toggle between code view and design view
Alt + 0
Invoke Window list
Shift + Alt + F11
Invoke Structure window
Ctrl + Shift + B
Invoke Browser window
Ctrl + Alt + B
Invoke Breakpoint window
Ctrl + Alt + S
Invoke Call Stack window
Ctrl + Alt + W
Invoke Watches window
Ctrl + Alt + L
Invoke Local Variables window
Ctrl + Alt + T
Invoke Threads window
Ctrl + Alt + F
Invoke FPU window
Ctrl + Alt + C
Invoke CPU window
Ctrl + Alt + V
Invoke Event window
 

-

Shift+Click
After selecting control in form designer, click on it with Shift again to select top most parent Form
Ctrl + J
Invoke code templates also called code snippets
Ctrl + T
Delete text from cursor position until end of word
Ctrl + E
Increm­ental search
Ctrl + Y
Delete current line
Ctrl + B
Invoke buffer window when focus is on editor. The buffer window shows a list of all different tabs.
Ctrl + Shift + G
Insert a new GUID at the cursor position
Ctrl + Shift + I
Indent the current selected block
Ctrl + Shift + U
Unindent the current selected block
Ctrl + K + I
Indent the current selected block or current line in case of no selection
Ctrl + K + U
Unindent the current selected block or current line in case of no selection
Ctrl + Shift + J
Invoke SyncEdit
Ctrl + Shift + V
Automa­tically declare variable at cursor position
Ctrl + Shift + Y
Delete to the end of line
Alt + [
Match pair forward
Alt + ]
Match pair backward
Alt +
Browse forward (hotlink history)
Alt +
Browse backward (hotlink history)
Alt +
Browse to symbol under editor cursor (invoke a hotlink and add it to the hotlink history)
F4
Run program to current cursor position
F5
Toggle breakpoint
F7
Debugger step into
Shift - F7
Trace into next source line
F8
Debugger step over
Shift - F8
Run until return
F9
Run program under debugger
Ctrl + F2
Program Reset
Ctrl + F7
Evalua­te/­modify
Ctrl + F5
Add Watch
Ctrl + F12
View units
 

dfdfgsdfg

sdfgsdfg
sdfgsd­fgsdfg

mais um bloco

teste
teste
teste23
teste2
teste4
teste3

dfdfgsdfg (copy)

sdfgsdfg
sdfgsd­fgsdfg

mais um teste

tesr
wetqwer
ewrtwer
wertwert
sdfgsdfg
sdbfgrh
345
2345
11111
111111111
22222
3333334
44444
55555