Udostępnij za pośrednictwem


General Shortcut Keys, Brief Scheme

You can use the following shortcut key combinations in various places within the integrated development environment (IDE).

Command

Shortcut keys

Description

Edit.Copy

CTRL + SHIFT + NUM ()

—or—

CTRL + C

—or—

CTRL + INSERT

—Or—

NUM PLUS SIGN ()

Copies the currently selected item to the system clipboard.

Edit.Cut

CTRL + SHIFT + NUM (-)

—or—

SHIFT + DELETE

—or

CRTL + X

—or—

NUM MINUS SIGN (-)

Removes the currently selected item to the system clipboard.

Edit.CycleClipboardRing

CTRL + SHIFT + INS

Pastes an item from the Clipboard Ring tab of the Toolbox at the insertion point in the file and automatically selects the pasted item. You can review each item on the Clipboard by repeatedly pressing the shortcut keys.

Edit.DecreaseFilterLevel

ALT + COMMA

When you are using IntelliSense filtering, changes the filter level from the Common tab to the All tab.

Available only when you edit Visual Basic files.

Edit.Delete

DELETE

Deletes one character to the right of the cursor.

Edit.DeleteBackwards

SHIFT + BACKSPACE

—or—

BACKSPACE

Deletes one character to the left of the cursor.

Edit.GoToNextLocation

F8

—or—

CTRL + N

Moves the cursor to the next item, such as a task in the Task List window or a search match in the Find Results window. Each time you press F8, you move to the next item in the list.

Edit.GoToPreviousLocation

SHIFT + F8

Moves the cursor to the previous item in the Task List window or Find Results window.

Edit.GoToReference

SHIFT + F12

Displays the reference of the selection in the code.

Edit.IncreaseFilterLevel

ALT + PERIOD

When you are using IntelliSense filtering, changes the filter level from the All tab to the Common tab.

Available only when you edit Visual Basic files.

Edit.Paste

CTRL + V

—or—

SHIFT + INSERT

—or—

CTRL + SHIFT + NUM (*)

—or—

INSERT

Inserts the Clipboard contents at the insertion point.

Edit.Redo

CTRL + SHIFT + Z

—or—

CTRL + Y

—or—

SHIFT + ALT + BACKSPACE

—or—

CTRL + U

Restores the previously undone action.

Edit.SelectionCancel

ESC

Closes a menu or dialog box, cancels an operation in progress, or places focus in the current document window. Available only in the .NET Framework Designer.

Edit.Undo

SHIFT + ALT + U

—or—

CTRL + Z

—or—

ALT + BACKSPACE

—or—

NUM ASTERICK SIGN

—or—

ALT + U

Reverses the last editing action.

File.Print

CTRL + P

Displays the Print dialog box where you can choose printer settings.

File.SaveAll

CTRL + SHIFT + S

Saves all documents in the current solution and any files in the external files project.

File.SaveSelectedItems

CTRL + S

—or—

ALT + W

Saves the selected items in the current project.

File.SaveSelectedItemsAs

CTRL + SHIFT + W

Displays the Save File As dialog box when items are selected in the editor.

View.Backward

ALT + LEFT ARROW

Displays the previous page in the viewing history. Available only in the Web Browser window.

View.Forward

ALT + RIGHT ARROW

Displays the next page in the viewing history. Available only in the Web Browser window.

View.PopBrowseContext

CTRL + NUM (*)

Returns to the location from where the last browse operation was performed. Available in the Object Browser or Class View window.

View.ViewCode

CTRL + ALT + 0

Displays the selected item in Code view of the Editor.

View.ViewDesigner

SHIFT + F7

Displays the selected item in Design view of the Editor.

See Also

Reference

Brief Default Shortcut Keys