Default Keyboard Shortcuts

From RAD Studio
Jump to: navigation, search

Go Up to Keyboard Mappings Index

The following table lists the Default Mapping keyboard shortcuts for the Code Editor.

Note: Keyboard shortcuts that include the Ctrl+Alt key combination are disabled when the Use Ctrl+Alt Keys option is unchecked on the Tools > Options > Editor Options > Key Mappings page.

Shortcut Action

Alt+[

Finds the matching delimiter (forward).

Alt+]

Finds the matching delimiter (backward).

Alt+Left Arrow

Go back after Alt+Up Arrow or Ctrl+Click (go to declaration) operation.

Alt+F7

Go to previous error or message in Messages View.

Alt+F8

Go to next error / message in Messages View.

Alt+Page Down

Goes to the next tab.

Alt+Page Up

Goes to the previous tab.

Alt+Right Arrow

Go forward after Alt+Left Arrow operation.

Alt+Shift+Down Arrow

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+Left Arrow

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+Right Arrow

Selects the column to the right of the cursor.

Alt+Shift+Up Arrow

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

Alt+Up Arrow

Go to declaration.

Click+Alt+mousemove

Selects column-oriented blocks.

Ctrl+/

Adds or removes // to each line in the selected code block to comment the code.

Ctrl+Alt+F12

Display a drop down list of open files.

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+Left Arrow

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+Right Arrow

Selects the column to the right of the cursor.

Ctrl+Backspace

Deletes the word to the left of the cursor (deletes characters to the preceding space).

Ctrl+Click

Go to declaration.

Ctrl+Del

Deletes a currently selected block.

Ctrl+Down Arrow

Scrolls down one line.

Ctrl+End

Moves to the end of a file.

Ctrl+Enter

Opens file at cursor.

Ctrl+Home

Moves to the top of a file.

Ctrl+I

Inserts a tab character.

Ctrl+J

Templates pop-up menu.

Ctrl+K+n

Sets a bookmark, where n is a number from 0 to 9.

Ctrl+K+E

Lowercases the current word.

Ctrl+K+F

Uppercases the current word.

Ctrl+K+T

Select word.

Ctrl+Left Arrow

Moves one word left.

Ctrl+n

Jumps to a bookmark, where n is the number of the bookmark, from 0 to 9.

Ctrl+N

Inserts a new line.

Ctrl+O+C

Turns on column blocking.

Ctrl+O+K

Turns off column blocking.

Ctrl+O+L

Turn on line blocking mode.

Ctrl+O+O

Insert compiler options.

Ctrl+P

Causes next character to be interpreted as an ASCII sequence.

Ctrl+PgDn

Moves to the bottom of a screen.

Ctrl+PgUp

Moves to the top of a screen.

Ctrl+Q+#

Go to bookmark.

Ctrl+Right Arrow

Moves one word right.

Ctrl+Shift+C

Invokes class completion for the class declaration in which the cursor is positioned.

Ctrl+Shift+#

Set bookmark.

Ctrl+Shift+B

Display buffer list.

Ctrl+Shift+Down Arrow

Jump between declaration and implementation.

Ctrl+Shift+Enter

Find usages.

Ctrl+Shift+J

SyncEdit.

Ctrl+Shift K+A

Expands all blocks of code.

Ctrl+Shift K+C

Collapses all classes.

Ctrl+Shift K+E

Collapses a block of code.

Ctrl+Shift K+G

Initializes/finalize or interface/implementation.

Ctrl+Shift K+M

Collapses all methods.

Ctrl+Shift K+N

Collapses namespace/Unit.

Ctrl+Shift K+O

Toggles between enabling and disabling Code Folding.

Ctrl+Shift K+P

Collapses nested procedures.

Ctrl+Shift K+R

Collapses all regions.

Ctrl+Shift K+T

Toggles the current block between collapsed and expanded.

Ctrl+Shift K+U

Expands a block of code.

Ctrl+Shift+End

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

Ctrl+Shift+G

Inserts a new Globally Unique Identifier (GUID).

Ctrl+Shift+Home

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

Ctrl+Shift+I

Indents block.

Ctrl+Shift+Left Arrow

Selects the word to the left of the cursor.

Ctrl+Shift+P

Plays a recorded keystroke macro.

Ctrl+Shift+PgDn

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

Ctrl+Shift+PgUp

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

Ctrl+Shift+R

Toggles between starting and stopping the recording of a keystroke macro.

Ctrl+Shift+Right Arrow

Selects the word to the right of the cursor.

Ctrl+Shift+space bar

Code Parameters pop-up window.

Ctrl+Shift+T

Create ToDo entry.

Ctrl+Shift+Tab

Moves to the previous code page (or file).

Ctrl+Shift+Tab

Moves to the previous page.

Ctrl+Shift+U

Outdents block.

Ctrl+Shift+Up Arrow

Jump between declaration and implementation.

Ctrl+Shift+Y

Deletes to the end of a line.

Ctrl+space bar

Code Completion pop-up window.

Ctrl+T

Deletes a word to the right (deletes characters to the next space).

Ctrl+Tab

Moves to the next code page (or file).

Ctrl+Up Arrow

Scrolls up one line.

Ctrl+Y

Deletes a line.

F1

Displays Help for the selected fully qualified namespace.

Shift+Alt+arrow

Selects column-oriented blocks.

Shift+Backspace

Deletes the character to the left of the cursor.

Shift+Down Arrow

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+Left Arrow

Selects the character to the left of the cursor.

Shift+PgDn

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

Shift+PgUp

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

Shift+Right Arrow

Selects the character to the right of the cursor.

Shift+Space

Inserts a blank space.

Shift+Tab

Moves the cursor to the left one tab position.

Shift+Up Arrow

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

See Also