Bagikan melalui


Text Navigation Shortcut Keys, Brief Scheme

Use the following shortcut key combinations in text editors to move within an open document.

Command

Shortcut keys

Description

Edit.CharLeft

LEFT ARROW

Moves the cursor one character to the left. Available only in the .NET Framework Designer.

Edit.CharRight

RIGHT ARROW

Moves the cursor one character to the right. Available only in the .NET Framework Designer

Edit.DocumentEnd

CTRL + END

Moves the cursor to the last line of the document.

Edit.DocumentStart

CTRL + HOME

Moves the cursor to the first line of the document.

Edit.GoTo

CTRL + G

Displays the Go To Line dialog box.

Edit.GoToBrace

CTRL + ]

Moves the cursor to the next brace in the document.

Edit.LineDown

DOWN ARROW

Moves the cursor down one line.

Edit.LineEnd

END

Moves the cursor to the end of the current line.

Edit.LineStart

HOME

Moves the cursor to the beginning of the line.

Edit.LineUp

UP ARROW

Moves the cursor up one line.

Edit.NextBookmark

F2

—or—

CTRL + K, CTRL + N

—or—

CTRL + L, CTRL + N

Moves the cursor to the next bookmark in the document.

Edit.PageDown

PAGE DOWN

Scrolls down one screen in the editor window.

Edit.PageUp

PAGE UP

Scrolls up one screen in the editor window.

Edit.PreviousBookmark

CTRL + K, CTRL + P

—or—

SHIFT + F2

—or—

CTRL + L, CTRL + P

Moves the cursor to the previous bookmark.

Edit.QuickInfo

CTRL + L, CTRL + I

Displays Quick Info, based on the current language.

Edit.ViewBottom

CTRL + PAGE DOWN

Moves the cursor to the bottom of the current document.

Edit.ViewTop

CTRL + PAGE UP

Moves the cursor to the top of the current window.

View.BrowseNext

CTRL + SHIFT + 1

—or—

CTRL + NUM +

Navigates to the next definition, declaration, or reference of an item. Available in the Object Browser and Class View window.

View.BrowsePrevious

CTRL + SHIFT + 2

—or—

CTRL + NUM - (minus sign)

Navigates to the previous definition, declaration, or reference of an item. Available in the Object Browser and Class View window.

View.ForwardBrowseContext

CTRL + SHIFT + 7

Navigates to the next item called in code in the current file.

View.NavigateBackward

CTRL + =

—or—

CTRL + MINUS SIGN (-)

Navigates to the previous browsed line of code.

View.NavigateForward

CTRL + SHIFT + - (minus sign)

—or—

CTRL + SHIFT + =

Navigates to the next browsed line of code.

View.PopBrowseContext

CTRL + ASTERICK (*)

Navigates to the previous item called in code in the current file.

See Also

Reference

Brief Default Shortcut Keys