Text Selection Shortcut Keys, Visual C# Scheme

The following shortcut key combinations can be used in text editors to select text in an open document.

Note

When you select Visual C# Development Settings in the Import and Export Settings Wizard, the Visual C# 2005 keyboard mapping scheme is applied. Visual C# 2005 is the current keyboard mapping scheme. This is the keyboard mapping scheme that is applied to the integrated development environment (IDE) at initial startup. For more information, see How to: Change Select Settings.

To switch to the Visual C# keyboard mapping scheme

  1. On the Tools menu, click Options.

  2. Expand Environment, and then click Keyboard.

  3. Select Visual C# 2005 from the Apply the following application keyboard mapping scheme drop-down list.

Command Name

Shortcut Keys

Description

Edit.CharLeftExtend

SHIFT + LEFT ARROW

Moves the cursor to the left one character, extending the selection.

Edit.CharLeftExtendColumn

SHIFT + ALT + LEFT ARROW

Moves the cursor to the left one character, extending the column selection.

Edit.CharRightExtend

SHIFT + RIGHT ARROW

Moves the cursor to the right one character, extending the selection.

Edit.CharRightExtendColumn

SHIFT + ALT + RIGHT ARROW

Moves the cursor to the right one character, extending the column selection.

Edit.DocumentEndExtend

CTRL + SHIFT + END

Selects the text from the cursor to the last line of the document.

Edit.DocumentStartExtend

CTRL + SHIFT + HOME

Selects the text from the cursor to the first line of the document.

Edit.GoToBraceExtend

CTRL + SHIFT + ]

Moves the cursor to the next brace, extending the selection.

Edit.LineDownExtend

SHIFT + DOWN ARROW

Extends text selection down one line, starting at the location of the cursor.

Edit.LineDownExtendColumn

SHIFT + ALT + DOWN ARROW

Moves the pointer down one line, extending the column selection.

Edit.LineEndExtend

SHIFT + END

Selects text from the cursor to the end of the current line.

Edit.LineEndExtendColumn

SHIFT + ALT + END

Moves the cursor to the end of the line, extending the column selection.

Edit.LineStartExtend

SHIFT + HOME

Selects text from the cursor to the start of the line.

Edit.LineStartExtendColumn

SHIFT + ALT + HOME

Moves the cursor to the start of the line, extending the column selection.

Edit.LineUpExtend

SHIFT + UP ARROW

Selects text up, line by line, starting from the location of the cursor.

Edit.LineUpExtendColumn

SHIFT + ALT + UP ARROW

Moves the cursor up one line, extending the column selection.

Edit.PageDownExtend

SHIFT + PAGE DOWN

Extends selection down one page.

Edit.PageUpExtend

SHIFT + PAGE UP

Extends selection up one page.

Edit.SelectAll

CTRL + A

Selects everything in the current document.

Edit.SelectCurrentWord

CTRL + SHIFT + W

Selects the word that contains the cursor or the word to the right of the cursor.

Edit.SelectToLastGoBack

CTRL + EQUALS (=)

Select everything from the current location of the cursor to the Navigate Backward (CTRL + MINUS SIGN (-)) location in the Editor. For more information, see Text Navigation Shortcut Keys, Visual C# Scheme.

Edit.ViewBottomExtend

CTRL + SHIFT + PAGE DOWN

Moves the cursor to the last line in view, extending the selection.

Edit.ViewTopExtend

CTRL + SHIFT + PAGE UP

Extends the selection to the top of the active window.

Edit.WordNextExtend

CTRL + SHIFT + RIGHT ARROW

Extends the selection one word to the right.

Edit.WordNextExtendColumn

CTRL + SHIFT + ALT + RIGHT ARROW

Moves the cursor to the right one word, extending the column selection.

Edit.WordPreviousExtend

CTRL + SHIFT + LEFT ARROW

Extends the selection one word to the left.

Edit.WordPreviousExtendColumn

CTRL + SHIFT + ALT + LEFT ARROW

Moves the cursor to the left one word, extending the column selection.

See Also

Concepts

Visual C# Default Shortcut Keys