Udostępnij za pośrednictwem


Global Shortcut Keys, Visual C++ 6.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 + INSERT CTRL + C

Copies the currently selected item to the system clipboard.

Edit.Cut

SHIFT + DELETE CTRL + X

Removes the currently selected item and places it on the system clipboard.

Edit.CycleClipboardRing

CTRL + SHIFT + V CTRL + SHIFT + INSERT

Removes the currently selected item and places it on the system clipboard.

Edit.ListMembers

CTRL + ALT + T

Lists members of current class for statement completion when editing code.

Edit.GotoNextLocation

F8

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.Paste

CTRL + V SHIFT + INSERT

Inserts the Clipboard contents at the insertion point.

Edit.Redo

CTRL + Y 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

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

Saves the selected items in the current project.

Tools.GoToCommandLine

CTRL + /

Places the caret in the Find/Command box on the Standard toolbar.

View.NextTask

F4 CTRL + SHIFT + F12

Moves to the next task in the Task List window.

View.PopBrowseContext

CTRL + NUM *

Bookmarks your latest Go To definition or reference search.

View.PreviousTask

SHIFT + F4

Moves to the previous task in the Task List 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.

View.WebNavigateBack

ALT + LEFT ARROW

Displays the previous page in the viewing history. Only available in the Web Browser window.

View.WebNavigateForward

ALT + RIGHT ARROW

Displays the next page in the viewing history. Only available in the Web Browser window.

See Also

Tasks

How to: Work with Keyboard Shortcuts

Concepts

Pre-defined Keyboard Shortcuts

Other Resources

Visual C++ 6.0 Default Shortcut Keys