Share via


Project Shortcut Keys, Brief Scheme

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

Command

Shortcut keys

Description

Build.BuildSolution

F7

—or—

CTRL + SHIFT + B

Builds the solution.

Build.Cancel

CTRL + BREAK

Stops the current build.

Build.Compile

CTRL + F7

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

Edit.OpenFile

CTRL + SHIFT + G

Opens the file specified by name for editing. Available only from the Find/Command box on the Standard toolbar. To use, type the full name of a file in the current solution or the full path and file name for a file located on disk in the Find/Command box and then press CTRL + SHIFT + G.

File.Close

CTRL + - (minus sign)

Closes the document currently opened for edit.

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.

File.OpenFile

CTRL + O

—or—

ALT + E

Displays the Open File dialog box.

File.OpenProject

CTRL + SHIFT + O

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

File.Rename

F2

Allows you to edit the name of the item selected in Solution Explorer.

Project.Override

CTRL + ALT + INSERT

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

See Also

Reference

Brief Default Shortcut Keys