Delphi keyboard shortcuts

Delphi
Esc

Selects parent control in design mode. Left mouse click + Escape drags the parent control

↑   Shift + Mouse left click

After selecting control in form designer, click on it with Shift again to select top most parent Form

⭾ Tab

In Object Inspector activates incremental search for properties. Press again Tab to move focus to property value

Ctrl + J

Invoke code templates also called code snippets

Ctrl + T

Delete text from cursor position until end of word

Ctrl + E

Incremental 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

Automatically 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

Evaluate/modify

Ctrl + F5

Add Watch

Ctrl + F12

View units

Alt + G

Goto line number in editor

or Ctrl + O + G
Ctrl + ↑   Shift + R

Start/stop recording editor macro

Ctrl + ↑   Shift + P

Play editor macro

Ctrl + Space

Invoke code completion

Ctrl + ↑   Shift + Space

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 implementation/declaration

or Ctrl + ↑   Shift +
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 movement

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 +

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 +

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

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

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

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 international ) 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

Ctrl + Alt + M

Invoke Modules window

↑   Shift + F12

Invoke Forms window

Ctrl + ↑   Shift + A

Invoke Add to uses clause(Find unit in Delphi 2006) window (Refactoring)

Ctrl + ↑   Shift + F11

Invoke Project Options window

Ctrl + F9

Compile Project

↑   Shift + F9

Build Project

↑   Shift + F11

Invoke Add to project window

↑   Shift + Ctrl + F9

Run without debugging

Ctrl + F

Find

↑   Shift + Ctrl + F

Find in Files

Alt + F7

Previous/next result (for Find in Files and Build Error Messages)

Ctrl + K + E

Changes a word to lowercase and deselects selection

Ctrl + K + F

Changes a word to uppercase and deselects selection

Ctrl + K + O

Changes a word to lowercase

Ctrl + K + N

Changes a word to uppercase

Ctrl + O + U

Toggles case

Ctrl + ↑   Shift + K + O

Toggles Code folding between On and Off

Ctrl + ↑   Shift + K + A

Code folding: Expands All blocks of code

Ctrl + ↑   Shift + K + E

Code folding: Collapse current block of code

Ctrl + ↑   Shift + K + U

Code folding: Expand current block of code

Ctrl + ↑   Shift + K + T

Code folding: Toggle Current block (expand & collapse)

Ctrl + ↑   Shift + K + R

Code folding: Collapses all regions {$region 'comment'}..{$endregion}

Ctrl + ↑   Shift + K + P

Code folding: Collapse nested procedures

Ctrl + ↑   Shift + K + M

Code folding: Collapse all methods

Ctrl + ↑   Shift + K + C

Code folding: Collapse all classes

Ctrl + ↑   Shift + K + G

Code folding: Collapses down to primary Groups [Interface/Implementation]

Ctrl + ↑   Shift + K + N

Code folding: Collapses Namespace/Unit

Ctrl + ⭾ Tab

Switch to the next open file in the editor

Ctrl + ↑   Shift + ⭾ Tab

Switch to the previous open file in the editor

Ctrl + K + P

Invokes print selection dialog

Ctrl + K + W

Invokes Write block to file(selected text)

Ctrl + K + R

Invokes Read block from file(inserts text at cursor)

Ctrl + K + C

Copies selected text at the end of the selection

Ctrl + K + T

Select word at cursor position

Ctrl + O + C

Turns on block selection mode

Ctrl + O + L

Selects current line (and turns off block selection mode)

Ctrl + Q + L

Toggles between limiting the Ctrl + Alt navigation shortcuts to the current class, or limiting it to the current unit

Ctrl + Q + W

Go to next item of Messages window

Ctrl + F6

Switches between source (.cpp) and header (.h)

Alt + ⬅ Backspace

Undo

Alt + F10

Display Popup menu

Alt + ↑   Shift +

Moves the cursor down one line and selects the column from the left of the starting cursor position

Alt + ↑   Shift + End

Selects the column from the cursor position to the end of the current line

Alt + ↑   Shift + Home

Selects the column from the cursor position to the start of the current line

Alt + ↑   Shift +

Selects the column to the left of the cursor

Alt + Shift + Page Down

Moves the cursor down one line and selects the column from the right of the starting cursor position

Alt + Shift + Page Up

Moves the cursor up one screen and selects the column from the left of the starting cursor position

Alt + ↑   Shift +

Selects the column to the right of the cursor

Alt + ↑   Shift +

Moves the cursor up one line and selects the column from the left of the starting cursor position

Alt + X

Cut word under cursor / current selected block

Ctrl + C

Copy word under Cursor / selected block

Ctrl + A

Select all

Ctrl + ⬅ Backspace

Delete the word to the beginning

Ctrl + D

Deletes a currently selected block

Ctrl +

Scrolls down one line

Ctrl + End

Moves to the end of a file

Ctrl + F1

Topic Search

Ctrl + F10

Open Main Menu

Ctrl + Home

Moves to the top of a file

Ctrl + H

Replace Dialog

Ctrl + I

Inserts a tab character

Ctrl + Insert

Copy selected Block

Ctrl + L

Find again

Ctrl +

Moves one word left

Ctrl + M

Insert new line (same as Enter)

Ctrl + N

Insert new line after cursor (cursor stays in current line)

Ctrl + O + A

Open file at cursor

Ctrl + O + B

Browse symbol at cursor

Ctrl + O + O

Inserts compiler options and directives

Ctrl + Page Down

Moves to the bottom of a screen

Ctrl + Page Up

Moves to the top of a screen

Ctrl + Q + A

Search Replace Dialog

Ctrl + Q + B

Moves cursor to the beginning of a block

Ctrl + Q + C

Moves cursor to end of a file

Ctrl + Q + D

Moves cursor to the end of a line

Ctrl + Q + E

Moves cursor to the top of the window

Ctrl + Q + F

Search Find Dialog

Ctrl + Q + K

Moves cursor to the end of a block

Ctrl + Q + P

Moves cursor to previous position

Ctrl + Q + R

Moves cursor to the beginning of a file

Ctrl + Q + S

Moves cursor to the beginning of a line

Ctrl + Q + T

Moves cursor to the top of the window

Ctrl + Q + U

Moves cursor to the bottom of the window

or Ctrl + Q + X
Ctrl + Q + Y

Deletes to the end of Line

Ctrl + R

Replace Dialog

Ctrl +

Moves one word right

Ctrl + S

Save

Ctrl + ↑   Shift + S

Save All

Ctrl + ↑   Shift + End

Selects from the cursor position to the end of the current file

Ctrl + ↑   Shift + Home

Selects from the cursor position to the start of the current file

Ctrl + ↑   Shift +

Selects the word to the left of the cursor

Ctrl + Shift + Page Down

Selects from the cursor position to the bottom of the screen

Ctrl + Shift + Page Up

Selects from the cursor position to the top of the screen

Ctrl + ↑   Shift +

Selects the word to the right of the cursor

Ctrl + ↑   Shift + Z

Redo

Ctrl +

Scrolls up one line

Ctrl + V

Paste

Ctrl + Z

Undo

F1

Display Help

F3

Find again

Insert

Insert Mode on / off

↑   Shift +

Moves the cursor down one line and selects from the right of the starting cursor position.

↑   Shift + End

Selects from the cursor position to the end of the current line

↑   Shift + ⤶ Enter

Inserts a new line with a carriage return

↑   Shift + Home

Selects from the cursor position to the start of the current line

↑   Shift + Insert

Paste from clipboard

↑   Shift +

Selects the character to the left of the cursor

Shift + Page Down

Moves the cursor down one line and selects from the right of the starting cursor position

Shift + Page Up

Moves the cursor up one screen and selects from the left of the starting cursor position

↑   Shift +

Selects the character to the right of the cursor

↑   Shift + ⭾ Tab

Moves the cursor to the left one tab position

↑   Shift +

Moves the cursor up one line and selects from the left of the starting cursor position

Ctrl + Alt + ↑   Shift + End

Selects the column from the cursor position to the end of the current file

Ctrl + Alt + ↑   Shift + Home

Selects the column from the cursor position to the start of the current file

Ctrl + Alt + ↑   Shift +

Selects the column to the left of the cursor

Ctrl + Alt + Shift + Page Down

Selects the column from the cursor position to the top of the screen

Ctrl + Alt + Shift + Page Up

Selects the column from the cursor position to the bottom of the screen

Ctrl + Alt + ↑   Shift +

Selects the column to the right of the cursor

AltGr + F12

Select editor window tab

F6

IDE Insight

or Ctrl + .

Share this page on:

Program information

Program name: Delphi (Developer tools)

Delphi is an integrated development environment for desktop, web, console applications and also event driven programming language. Originally developed by Borland as the successor of Turbo Pascal, Delphi added full object orientation to the language. It is now developed by Embarcadero Technologies.

Web page: https://www.embarcadero.com/pr...


Similar programs


  1. Fortnite (PC)Fortnite (PC)
    18137    2
  2. SketchUpSketchUp
    13113   
  3. PlayerUnknown's BattlegPlayerUnknown's Battleg
    11409    2
  4. Keyboard symbolsKeyboard symbols
    8484   
  5. AMD Radeon ReLiveAMD Radeon ReLive
    7693    2
  6. Total CommanderTotal Commander
    7303   
More keyboard shortcuts...

Advertisement

Advertisement

  Subscribe to our mailing list!

Useful technology tips and keyboard shortcuts will appear in your inbox.

Your email is kept private and we don't spam.

What is your favorite Delphi hotkey? Do you have any useful tips for program? Let other users know below.