Global Shortcut Keys, Visual C# Scheme
The following shortcut key combinations can be used in various locations in the integrated development environment (IDE).
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 |
---|---|---|
Diagram.Properties |
ALT + ENTER |
Switches focus from the diagram to the Properties window. |
Edit.Copy |
CTRL + C |
Copies the selected item to the Clipboard. |
Edit.Cut |
CTRL + X |
Deletes the selected item from the file and copies it to the Clipboard. |
Edit.CycleClipboardRing |
CTRL + SHIFT + V |
Pastes text from the Clipboard ring to the pointer location in the file. Subsequent use of the shortcut key iterates through the items in the Clipboard ring. |
Edit.Delete |
DELETE |
Deletes one character to the right of the cursor. |
Edit.OpenFile |
CTRL + SHIFT + G |
Displays the Open File dialog box where you can select a file to open. |
Edit.Paste |
CTRL + V |
Inserts the Clipboard contents at the cursor. |
Edit.Redo |
CTRL + Y |
Restores the previously undone action. |
Edit.Undo |
CTRL + Z |
Reverses the last editing action. |
File.Print |
CTRL + P |
Displays the Print dialog box where you can select printer settings. |
File.SaveAll |
CTRL + SHIFT + S |
Saves all documents in the current solution and all files in the external files project. |
File.SaveSelectedItems |
CTRL + S |
Saves the selected items in the current project. |
Tools.GoToCommandLine |
CTRL + / |
Puts the pointer in the Find/Command box on the Standard toolbar. |
View.Backward |
ALT + LEFT ARROW |
Displays the previous page in the viewing history. Available only in the Web Browser window. |
View.EditLabel |
F2 |
Lets you change the name of the selected item in Solution Explorer. |
View.Forward |
ALT + RIGHT ARROW |
Displays the next page in the viewing history. Available only in the Web Browser window. |
View.ViewCode |
F7 |
Displays the selected item in Code view of the editor. |
View.ViewDesigner |
SHIFT + F7 |
Displays the selected item in Designer view. Available only in Source view. |
See Also
Concepts
Visual C# Default Shortcut Keys