Project Shortcut Keys, Visual C# Scheme
The following shortcut key combinations can be used to add new items to a project, build a project, open files, or open projects.
Note
When you select Visual C# Development Settings in the Import and Export Settings Wizard, the Visual C# 2005 keyboard mapping scheme is applied. Visual C# 2005 is the current keyboard mapping scheme. This is the keyboard mapping scheme that is applied to the integrated development environment (IDE) at initial startup. For more information, see How to: Change Select Settings.
To switch to the Visual C# keyboard mapping scheme
On the Tools menu, click Options.
Expand Environment, and then click Keyboard.
Select Visual C# 2005 from the Apply the following application keyboard mapping scheme drop-down list.
Command Name |
Shortcut Keys |
Description |
---|---|---|
Build.BuildSolution |
F6 or CTRL + SHIFT + B |
Builds all the projects in the solution. |
Build.BuildSelection |
SHIFT + F6 |
Builds the selected project and its dependencies. |
Build.Cancel |
CTRL + BREAK |
Stops the current build. |
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 |
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. |
Project.AddClass |
SHIFT + ALT + C |
Displays the Add New Item dialog box and selects Class template as default. |
Project.AddExistingItem |
SHIFT + ALT + A |
Displays the Add Existing Item dialog box, which lets you add an existing file to the current project. |
Project.AddNewItem |
CTRL + SHIFT + A |
Displays the Add New Item dialog box, which lets you add a new file to the current project. |
Project.Override |
CTRL + ALT + INSERT |
Lets you override base class methods in a derived class. |