Udostępnij za pośrednictwem


Project Shortcut Keys, Visual C++ 6.0 Default Shortcut Option

Use the following shortcut key combinations to add new items to a project, build a project, or open files or projects.

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.

Note

To see a list of shortcut keys that have changed or are no longer supported in Visual C++ .NET, see Obsolete Visual C++ 6.0 Key Commands and Changes to Visual C++ 6.0 Key Commands.

Command name

Shortcut keys

Description

Build.BuildSolution

F7

Builds the solution.

Build.Cancel

CTRL + BREAK

Cancels the build in progress.

Build.Compile

CTRL + F7

Creates an object file containing machine code, linker directives, sections, external references, and function/data names for the selected file.

File.NewFile

CTRL + N

Displays the New File dialog box where you can select a new file to add to the current project.

File.NewProject

CTRL + SHIFT + N

Displays the New Project dialog box where you can create projects and add them to the current solution.

File.OpenFile

CTRL + O

Displays the Open File dialog box where you can select to open an existing file.

File.OpenProject

CTRL + SHIFT + O

Displays the Open Project dialog box where you can add existing projects to your solution.

File.AddExistingItem

SHIFT + ALT + A

Displays the Add Existing Item dialog box, which allows you to add an existing file to the current project.

File.AddNewItem

CTRL + SHIFT + A

Displays the Add New Item dialog box, which allows you to add a new file to the current project.

Project.Override

CTRL + ALT + INSERT

Allows you to override base class methods in a derived class. Available for C#.

See Also

Tasks

How to: Work with Keyboard Shortcuts

Concepts

Pre-defined Keyboard Shortcuts

Other Resources

Visual C++ 6.0 Default Shortcut Keys