Project Shortcut Keys, Visual C++ 2.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.

Command name

Shortcut keys

Description

Build.BuildSolution

SHIFT + F8

Builds the solution.

Build.Cancel

CTRL + BREAK

Cancel the build in progress.

Build.Compile

CTRL + F8

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

Build.RebuildSolution

ALT + F8

Rebuilds the solution

Project.AddResource

CTRL + R

Add resource to current project.

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

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.

See Also

Tasks

How to: Work with Keyboard Shortcuts

Concepts

Pre-defined Keyboard Shortcuts

Other Resources

Visual C++ 2.0 Default Shortcut Keys