Udostępnij za pośrednictwem


Global Shortcut Keys, Visual C++ 2.0 Default Shortcut Option

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

Note

The appearance of features in the IDE can depend on your active settings or edition, and might differ from those described in Help. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

Command name

Shortcut keys

Description

Edit.Copy

CTRL + C CTRL + INSERT

Copies the currently selected item to the system clipboard.

Edit.Cut

CTRL + X SHIFT + DELETE CTRL + ALT + W

Removes the currently selected item to the system clipboard.

Edit.GotoNextLocation

F4

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 F12, you move to the next item in the list.

Edit.GotoPreviousLocation

SHIFT + F4

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

Edit.GoToReference

SHIFT + F11 SHIFT + ALT + F11

Displays the reference of the selection in the code.

Edit.Paste

CTRL + V SHIFT + INSERT

Inserts the Clipboard contents at the insertion point.

Edit.Redo

CTRL + A CTRL + SHIFT + Z SHIFT + ALT + BACKSPACE

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.

Edit.Undo

CTRL + Z ALT + BACKSPACE

Reverses the last editing action.

File.Print

CTRL + P CTRL + SHIFT + F12 CTRL + SHIFT + ALT + F2

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 SHIFT + F12

Saves the selected items in the current project.

View.PopBrowseContext

CTRL + NUM *

Returns to the location preceding the last browse operation.

See Also

Tasks

How to: Work with Keyboard Shortcuts

Concepts

Pre-defined Keyboard Shortcuts

Other Resources

Visual C++ 2.0 Default Shortcut Keys