Visual Studio Keyboard Shortcuts

From RAD Studio
Jump to: navigation, search

Go Up to Keyboard Mappings Index

The following table lists the Visual Studio 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+Backspace

Edit|Undo

Alt+F12

Browse symbol at cursor (Delphi)

Alt+Page Down

Goes to the next tab

Alt+Page Up

Goes to the previous tab

Alt+Shift+Backspace

Edit|Redo

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

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+F4

Closes the current page

Ctrl+J

Templates pop-up menu

Ctrl+K+C

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

Ctrl+K+E

Converts the word under the cursor to lower case

Ctrl+K+F

Converts the word under the cursor to upper case

Ctrl+L

Search|Search Again

Ctrl+Num +

Increases the font size of the Code Editor.

Ctrl+Num -

Decreases the font size of the Code Editor.

Ctrl+P

Causes next character to be interpreted as an ASCII sequence

Ctrl+Q+[

Finds the matching delimiter (forward)

Ctrl+Q+]

Finds the matching delimiter (backward)

Ctrl+Q+Ctrl+[

Finds the matching delimiter (forward)

Ctrl+Q+Ctrl+]

Finds the matching delimiter (backward)

Ctrl+Q+Y

Deletes to the end of a line

Ctrl+Shift+C

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

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

Selects the word to the left of the cursor

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

Selects the word to the right of the cursor

Ctrl+Shift+Tab

Displays the previous window in the buffer list

Ctrl+T

Deletes the word to the left of the cursor

Ctrl+Tab

Displays the next window in the buffer list

Ctrl+Y

Deletes to the end of a line

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 character

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

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

F1

Displays a help topic describing:

  • A pointed reserved word, directive, or C++ keyword.
  • A pointed identifier (or selected qualified identifier) corresponding to a name of a procedure, function, constant, property, variable, field, type, program, unit, library, or package described in installed CHM help files.
  • The Code Editor.