Pre-defined Keyboard Shortcuts
Visual Studio has a number of keyboard shortcuts for different Visual Studio commands and windows.
Keyboard shortcuts are assigned according to different keyboard mapping schemes. Your scheme is set the first time you start Visual Studio. After that you can add schemes and assign new keyboard shortcuts on the Tools / Options / Environment / Keyboard options page.
The following list shows the relationship between settings and keyboard mapping schemes.
Default: used with General Development Settings.
Visual Basic 6: used with Visual Basic Development Settings.
Visual C# 2005: used with Visual C# Development Settings.
Visual C++ 6: used with Visual C++ Development settings.
Visual C++ 2: legacy scheme.
Visual Studio 6: legacy scheme
Table of Contents
Designers and Editors, Shared Shortcuts
Designers
Editors
Data
File and Project Operations
Window Management
Tool Windows
Debugging
Testing
Integrated Help
Designers and Editors, Shared Shortcuts
These shortcuts work in both designers and editors.
Command |
Visual Basic 6 Scheme |
Visual Studio 6 Scheme |
Visual C# 2005 Scheme |
Visual C++ 6, Visual C++ 2 Schemes |
---|---|---|---|---|
Edit.Copy |
CTRL+C or CTRL+INSERT |
CTRL+C or CTRL+INSERT |
CTRL+C or CTRL+INSERT |
CTRL+C or CTRL+INSERT |
Edit.Cut |
CTRL+X or SHIFT+DELETE |
CTRL+X or SHIFT+DELETE |
CTRL+X or SHIFT+DELETE |
CTRL+X or SHIFT+DELETE |
Edit.CycleClipboardRing |
CTRL+SHIFT+V or CTRL+SHIFT+INSERT |
CTRL+SHIFT+V or CTRL+SHIFT+INSERT |
CTRL+SHIFT+V or CTRL+SHIFT+INSERT |
CTRL+SHIFT+V or CTRL+SHIFT+INSERT |
Edit.Delete |
DELETE |
DELETE |
DELETE |
DELETE |
Edit.Find |
CTRL+F |
CTRL+F |
CTRL+F |
CTRL+F |
Edit.FindAllReferences |
ALT+F2 |
|
CTRL+K, R or SHIFT+F12 |
SHIFT+F12 or CTRL+K, R or CTRL+K, CTRL+R (Visual C++ 6 scheme only) |
Edit.FindinFiles |
CTRL+SHIFT+F |
|
CTRL+SHIFT+F |
CTRL+SHIFT+F |
Edit.FindNext |
F3 |
F3 |
F3 |
F3 |
Edit.FindNextSelected |
CTRL+F3 |
CTRL+F3 |
CTRL+F3 |
CTRL+F3 |
Edit.FindPrevious |
SHIFT+F3 |
SHIFT+F3 |
SHIFT+F3 |
SHIFT+F3 |
Edit.FindPreviousSelected |
CTRL+SHIFT+F3 |
CTRL+SHIFT+F3 |
CTRL+SHIFT+F3 |
CTRL+SHIFT+F3 |
FindSymbol |
ALT+F12 |
ALT+F12 |
ALT+F12 |
ALT+F12 |
Edit.GoToFindCombo |
|
CTRL+SHIFT+F |
CTRL+/ |
CTRL+/ (Visual C++ 6 scheme) CTRL + D (Visual C++ 2 scheme) |
Edit.IncrementalSearch |
ALT+I |
|
CTRL+I |
|
Edit.Paste |
CTRL+V or SHIFT+INSERT |
CTRL+V or SHIFT+INSERT |
CTRL+V or SHIFT+INSERT |
CTRL+V or SHIFT+INSERT |
Edit.QuickFindSymbol |
SHIFT+ALT+F12 |
SHIFT+ALT+F12 |
SHIFT+ALT+F12 |
|
Edit.NavigateTo |
CTRL+, |
CTRL+, |
CTRL+, |
CTRL+, |
Edit.Redo |
SHIFT+ALT+BACKSPACE or CTRL+SHIFT+Z |
CTRL+Y or SHIFT+ALT+BACKSPACE or CTRL+SHIFT+Z |
CTRL+Y or SHIFT+ALT+BACKSPACE or CTRL+SHIFT+Z |
CTRL+Y or SHIFT+ALT+BACKSPACE or CTRL+SHIFT+Z |
Edit.Replace |
CTRL+H |
CTRL+H |
CTRL+H |
CTRL+H |
Edit.ReplaceinFiles |
CTRL+SHIFT+H |
CTRL+SHIFT+H |
CTRL+SHIFT+H |
CTRL+SHIFT+H |
Edit.SelectAll |
CTRL+A |
CTRL+A |
CTRL+A |
CTRL+A |
Edit.StopSearch |
ALT+F3, S |
ALT+F3, S |
ALT+F3, S |
ALT+F3, S |
Edit.Undo |
CTRL+Z or ALT+BACKSPACE |
CTRL+Z or ALT+BACKSPACE |
CTRL+Z or ALT+BACKSPACE |
CTRL+Z or ALT+BACKSPACE |
View.ViewCode |
F7 |
F7 |
F7 |
F7 |
View.ViewDesigner |
SHIFT+F7 |
SHIFT+F7 |
SHIFT+F7 |
SHIFT+F7 (Visual C++ 6 scheme only) |
Designers
The shortcuts in this section work in designers. Editor shortcuts may also work in designers that include text, for example, the Report designer.
Control Manipulation
These shortcuts work in designers, and are used for moving, selecting, and changing the size of controls.
Command |
Description |
All Keyboard Schemes |
---|---|---|
Edit.MoveControlDown |
Moves the selected control down in increments of 1 pixel on the design surface. |
CTRL+DOWN ARROW |
Edit.MoveControlDownGrid |
Moves the selected control down to the next preset grid position on the design surface. |
DOWN ARROW |
Edit.MoveControlLeft |
Moves the control to the left in increments of 1 pixel on the design surface. |
CTRL+LEFT ARROW |
Edit.MoveControlLeftGrid |
Moves the control to the left to the next preset grid position on the design surface. |
LEFT ARROW |
Edit.MoveControlRight |
Moves the control to the right in increments of 1 pixel on the design surface. |
CTRL+RIGHT ARROW |
Edit.MoveControlRightGrid |
Moves the control to the right to the next preset grid position on the design surface. |
RIGHT ARROW |
Edit.MoveControlUp |
Moves the control up in increments of 1 pixel on the design surface. |
CTRL+UP ARROW |
Edit.MoveControlUpGrid |
Moves the control up in increments of 8 pixels on the design surface. |
UP ARROW |
Edit.SelectNextControl |
Moves to the next control on the page based on the TabIndex property of the control. |
TAB |
Edit.SelectPreviousControl |
Moves back to the previously selected control on the page. |
SHIFT+TAB |
Edit.ShowTileGrid |
Displays the grid on the design surface. |
ENTER |
Edit.SizeControlDown |
Expands the control downward in increments of 1 pixel on the design surface. |
CTRL+SHIFT+DOWN ARROW |
Edit.SizeControlDownGrid |
Expands the control downward to the next preset grid position on the design surface. |
SHIFT+DOWN ARROW |
Edit.SizeControlLeft |
Expands the control to the left in increments of 1 pixel on the design surface. |
CTRL+SHIFT+LEFT ARROW |
Edit.SizeControlLeftGrid |
Expands the control to the left to the next preset grid position on the design surface. |
SHIFT+LEFT ARROW |
Edit.SizeControlRight |
Expands the control to the right in increments of 1 pixel on the design surface. |
CTRL+SHIFT+RIGHT ARROW |
Edit.SizeControlRightGrid |
Expands the control to the right to the next preset grid position on the design surface. |
SHIFT+RIGHT ARROW |
Edit.SizeControlUp |
Expands the control upward in increments of 1 pixel on the design surface. |
CTRL+SHIFT+UP ARROW |
Edit.SizeControlUpGrid |
Expands the control upward to the next preset grid position on the design surface. |
SHIFT+UP ARROW |
View.ShowSmartTag |
Displays the available options on the smart tag menu. |
SHIFT+ALT+F10 or CTRL+. |
HTML Designer
These shortcuts work only in the HTML Designer, and certain shortcuts are available only in a specific view. Text navigation shortcuts, Text selection shortcuts, and Text manipulation shortcuts, which are listed later in this topic, may also be used in the HTML Designer.
Command |
Description |
All Keyboard Schemes |
---|---|---|
Format.Bold |
Toggles the selected text between bold and plain. Available only in Design view. |
CTRL+B |
Format.ConverttoHyperlink |
When text is selected, displays the Hyperlink dialog box. Available only in Design view. |
CTRL+L |
Format.InsertBookmark |
Displays the Bookmark dialog box. Available only in Design view. |
CTRL+SHIFT+L |
Format.Italic |
Toggles the selected text between italic and plain. Available only in Design view. |
CTRL+I |
Format.Underline |
Toggles the selected text between underlined and plain. Available only in Design view. |
CTRL+U |
Project.AddContentPage |
Adds a new *.aspx file to the Web site and opens the file in the HTML Designer. Available only in Design view. |
CTRL+M, CTRL+C |
Table.ColumntotheLeft |
Adds one column to the left of the current column in the table. Available only in Design view. |
CTRL+ALT+LEFT ARROW |
Table.ColumntotheRight |
Adds one column to the right of the current column in the table. Available only in Design view. |
CTRL+ALT+RIGHT ARROW |
Table.RowAbove |
Adds one row above the current row in the table. Available only in Design view. |
CTRL+ALT+UP ARROW |
Table.RowBelow |
Adds one row below the current row in the table. Available only in Design view. |
CTRL+ALT+DOWN ARROW |
View.ASP.NETNonvisualControls |
Toggles the visibility of non-visual controls on the design surface. |
CTRL+SHIFT+N |
View.EditMaster |
Opens the *.master file in Source view. Available only in Design view. |
CTRL+M, CTRL+M |
View.NextView |
Switches among Design view, Source view, and Server Code view for the current document. Available in all views. |
CTRL+PAGE DOWN |
View.ShowSmartTag |
Displays the available options on the smart tag menu. |
SHIFT+ALT+F10 or CTRL+. CTRL+J (Visual Studio 6 scheme only) |
View.ViewMarkup |
Switches to Source view for the current document. Available only in Design view. |
SHIFT+F7 |
Window.PreviousTab |
Switches among Design view, Source view, and Server Code view for the current document. Available in all views. |
CTRL+PAGE UP |
Settings Designer
These shortcuts are specific to the Settings Designer.
Command |
Description |
All Keyboard Schemes |
---|---|---|
Edit.EditCell |
Displays the selected cell in Edit mode. |
F2 |
Edit.RemoveRow |
Removes the selected row. |
CTRL+DELETE |
Edit.SelectionCancel |
Cancels the current selection. |
ESC |
View.ViewCode |
Switches to Code view. |
F7 |
XML Schema Designer
Command |
Description |
All Keyboard Schemes |
---|---|---|
OtherContextMenus.GraphView.RemovefromWorkspace |
Removes the selected item from the workspace. |
DELETE |
XsdDesigner.ShowContentModelView |
Displays the current XML schema in Content ModelView. |
CTRL+2 |
XsdDesigner.ShowGraphView |
Displays the current XML schema in Graph View. |
CTRL+3 |
XsdDesigner.ShowStartView |
Displays the current XML schema in Start View. |
CTRL+1 |
Editors
The shortcuts in this section work in text editors.
Text Navigation
These shortcuts are for moving around in an open document.
Command |
Visual Basic 6 Scheme |
Visual Studio 6 Scheme |
Visual C# 2005 Scheme |
Visual C++ 6, Visual C++ 2 Schemes |
---|---|---|---|---|
Edit.CharLeft |
LEFT ARROW |
LEFT ARROW |
LEFT ARROW |
LEFT ARROW |
Edit.CharRight |
RIGHT ARROW |
RIGHT ARROW |
RIGHT ARROW |
RIGHT ARROW |
Edit.DocumentEnd |
CTRL+END or END |
CTRL+END or END |
CTRL+END or END |
END |
Edit.DocumentStart |
CTRL+HOME or HOME |
CTRL+HOME or HOME |
CTRL+HOME or HOME |
HOME |
Edit.GoTo |
|
CTRL+G |
CTRL+G |
CTRL + G |
Edit.GoToBrace |
|
CTRL+] |
CTRL+] |
CTRL+] |
Edit.GoToDeclaration |
CTRL+F12 |
CTRL+F12 |
CTRL+F12 |
CTRL + ALT + F12 |
Edit.GoToDefinition |
F12 or SHIFT+F2 |
|
F12 |
F12 |
Edit.GoToNextLocation |
|
F8 or F12 |
F8 |
F4 |
Edit.GoToPrevLocation |
|
SHIFT+F8 or SHIFT+F12 |
SHIFT+F8 |
SHIFT + F4 |
Edit.GoToReference |
SHIFT+F12 |
|
|
SHIFT + F12 |
Edit.IncrementalSearch |
ALT+I |
|
CTRL+I |
CTRL + I |
Edit.LineDown |
DOWN ARROW |
DOWN ARROW |
DOWN ARROW |
DOWN ARROW |
Edit.LineEnd |
END |
END |
END |
END |
Edit.LineStart |
HOME |
HOME |
HOME |
HOME |
Edit.LineUp |
UP ARROW |
UP ARROW |
UP ARROW |
UP ARROW |
Edit.NextBookmark |
CTRL+K, N |
CTRL+K, CTRL+N |
CTRL+B, N |
F2 |
Edit.NextBookmarkInFolder |
CTRL+SHIFT+K, CTRL+SHIFT+N |
CTRL+SHIFT+K, CTRL+SHIFT+N |
|
CTRL+SHIFT+K, CTRL+SHIFT+N |
Edit.NextHighlightedReference |
CTRL+SHIFT+DOWN ARROW |
CTRL+SHIFT+DOWN ARROW |
CTRL+SHIFT+DOWN ARROW |
CTRL+SHIFT+DOWN ARROW |
Edit.NextMethod |
CTRL+PAGE DOWN or CTRL+DOWN ARROW |
|
|
|
Edit.PageDown |
PAGE DOWN |
PAGE DOWN |
PAGE DOWN |
PAGE DOWN |
Edit.PageUp |
PAGE UP |
PAGE UP |
PAGE UP |
PAGE UP |
Edit.PreviousBookmark |
CTRL+K, P |
CTRL+K, CTRL+P |
CTRL+B, P |
SHIFT + F2 |
Edit.PreviousBookmarkInFolder |
CTRL+SHIFT+K, CTRL+SHIFT+P |
CTRL+SHIFT+K, CTRL+SHIFT+P |
|
CTRL+SHIFT+K, CTRL+SHIFT+P |
Edit.PreviousHighlightedReference |
CTRL+SHIFT+UP ARROW |
CTRL+SHIFT+UP ARROW |
CTRL+SHIFT+UP ARROW |
CTRL+SHIFT+UP ARROW |
Edit.PreviousMethod |
CTRL+PAGE UP or CTRL+UP ARROW |
|
|
|
Edit.QuickInfo |
CTRL+I |
CTRL+I |
CTRL+K, CTRL+I |
CTRL+K, CTRL+I |
Edit.ReverseIncrementalSearch |
SHIFT+ALT+I |
|
CTRL+SHIFT+I |
CTRL+SHIFT+I |
Edit.ScrollLineDown |
CTRL+DOWN ARROW |
CTRL+DOWN ARROW |
CTRL+DOWN ARROW |
CTRL+DOWN ARROW |
Edit.ScrollLineUp |
CTRL+UP ARROW |
CTRL+UP ARROW |
CTRL+UP ARROW |
CTRL+UP ARROW |
Edit.ViewBottom |
|
CTRL+PAGE DOWN |
CTRL+PAGE DOWN |
CTRL+PAGE DOWN |
Edit.ViewTop |
|
CTRL+PAGE UP |
CTRL+PAGE UP |
CTRL+PAGE UP |
Edit.WordNext |
CTRL+RIGHT ARROW |
CTRL+RIGHT ARROW |
CTRL+RIGHT ARROW |
CTRL+RIGHT ARROW |
Edit.WordPrevious |
CTRL+LEFT ARROW |
CTRL+LEFT ARROW |
CTRL+LEFT ARROW |
CTRL+LEFT ARROW |
View.BrowseNext |
|
CTRL+SHIFT+1 |
CTRL+SHIFT+1 |
CTRL + NUM (+) |
View.BrowsePrevious |
|
CTRL+SHIFT+2 |
CTRL+SHIFT+2 |
CTRL + NUM (-) |
View.ForwardBrowseContext |
CTRL+SHIFT+7 |
CTRL+SHIFT+7 |
CTRL+SHIFT+7 |
CTRL+SHIFT+7 |
View.NavigateBackward |
CTRL+SHIFT+2 or CTRL+- |
CTRL+- |
CTRL+- |
CTRL+- |
View.NavigateForward |
CTRL+SHIFT+- |
CTRL+SHIFT+- |
CTRL+SHIFT+- |
CTRL+SHIFT+- |
View.NextError |
|
CTRL+SHIFT+F12 |
CTRL+SHIFT+F12 |
CTRL+SHIFT+F12 |
View.NextTask |
CTRL+SHIFT+F12 |
|
|
|
View.PopBrowseContext |
|
CTRL+SHIFT+8 |
CTRL+SHIFT+8 |
CTRL + NUM (*) |
Window.NextSplitPane |
F6 |
F6 |
|
F6 |
Text Selection
These shortcuts are for selecting text in an open document.
Command |
Visual Studio 6 Scheme |
Visual Basic 6 Scheme |
Visual C# 2005 Scheme |
Visual C++ 6, Visual C++ 2 Schemes |
---|---|---|---|---|
Edit.CharLeftExtend |
SHIFT+LEFT ARROW |
SHIFT+LEFT ARROW |
SHIFT+LEFT ARROW |
SHIFT+LEFT ARROW |
Edit.CharLeftExtendColumn |
SHIFT+ALT+LEFT ARROW |
SHIFT+ALT+LEFT ARROW |
SHIFT+ALT+LEFT ARROW |
SHIFT+ALT+LEFT ARROW |
Edit.CharRightExtend |
SHIFT+RIGHT ARROW |
SHIFT+RIGHT ARROW |
SHIFT+RIGHT ARROW |
SHIFT+RIGHT ARROW |
Edit.CharRightExtendColumn |
SHIFT+ALT+RIGHT ARROW |
SHIFT+ALT+RIGHT ARROW |
SHIFT+ALT+RIGHT ARROW |
SHIFT+ALT+RIGHT ARROW |
Edit.DocumentEndExtend |
CTRL+SHIFT+END or SHIFT+END |
CTRL+SHIFT+END or SHIFT+END |
CTRL+SHIFT+END or SHIFT+END |
SHIFT+END |
Edit.DocumentStartExtend |
CTRL+SHIFT+HOME or SHIFT+HOME |
CTRL+SHIFT+HOME or SHIFT+HOME |
CTRL+SHIFT+HOME or SHIFT+HOME |
SHIFT+HOME |
Edit.GotoBraceExtend |
CTRL+SHIFT+] |
|
CTRL+SHIFT+] |
CTRL+SHIFT+] |
Edit.LineDownExtend |
SHIFT+DOWN ARROW or SHIFT+UP ARROW |
SHIFT+DOWN ARROW or SHIFT+UP ARROW |
SHIFT+DOWN ARROW or SHIFT+UP ARROW |
SHIFT+DOWN ARROW |
Edit.LineDownExtendColumn |
SHIFT+ALT+DOWN ARROW |
SHIFT+ALT+DOWN ARROW |
SHIFT+ALT+DOWN ARROW |
SHIFT+ALT+DOWN ARROW |
Edit.LineEndExtend |
SHIFT+END |
SHIFT+END |
SHIFT+END |
SHIFT+END |
Edit.LineEndExtendColumn |
SHIFT+ALT+END |
SHIFT+ALT+END |
SHIFT+ALT+END |
SHIFT+ALT+END |
Edit.LineStartExtend |
SHIFT+HOME |
SHIFT+HOME |
SHIFT+HOME |
SHIFT+HOME |
Edit.LineStartExtendColumn |
SHIFT+ALT+HOME |
SHIFT+ALT+HOME |
SHIFT+ALT+HOME |
SHIFT+ALT+HOME |
Edit.LineUpExtend |
SHIFT+UP ARROW or SHIFT+DOWN ARROW |
SHIFT+UP ARROW or SHIFT+DOWN ARROW |
SHIFT+UP ARROW or SHIFT+DOWN ARROW |
SHIFT+UP ARROW |
Edit.LineUpExtendColumn |
SHIFT+ALT+UP ARROW |
SHIFT+ALT+UP ARROW |
SHIFT+ALT+UP ARROW |
SHIFT+ALT+UP ARROW |
Edit.PageDownExtend |
SHIFT+PAGE DOWN |
SHIFT+PAGE DOWN |
SHIFT+PAGE DOWN |
SHIFT+PAGE DOWN |
Edit.PageUpExtend |
SHIFT+PAGE UP |
SHIFT+PAGE UP |
SHIFT+PAGE UP |
SHIFT+PAGE UP |
Edit.SelectCurrentWord |
CTRL+W |
CTRL+SHIFT+W |
CTRL+SHIFT+W |
CTRL+W |
Edit.SelectionCancel |
ESC |
ESC |
ESC |
ESC |
Edit.SelectToLastGoBack |
CTRL+= |
CTRL+= |
CTRL+= |
CTRL+= |
Edit.ViewBottomExtend |
CTRL+SHIFT+PAGE DOWN |
|
|
CTRL+SHIFT+PAGE DOWN |
Edit.ViewTopExtend |
CTRL+SHIFT+PAGE UP |
|
|
CTRL+SHIFT+PAGE UP |
Edit.WordNextExtend |
CTRL+SHIFT+RIGHT ARROW |
CTRL+SHIFT+RIGHT ARROW |
CTRL+SHIFT+RIGHT ARROW |
CTRL+SHIFT+RIGHT ARROW |
Edit.WordNextExtendColumn |
CTRL+SHIFT+ALT+RIGHT ARROW |
CTRL+SHIFT+ALT+RIGHT ARROW |
CTRL+SHIFT+ALT+RIGHT ARROW |
CTRL+SHIFT+ALT+RIGHT ARROW |
Edit.WordPreviousExtend |
CTRL+SHIFT+LEFT ARROW |
CTRL+SHIFT+LEFT ARROW |
CTRL+SHIFT+LEFT ARROW |
CTRL+SHIFT+LEFT ARROW |
Edit.WordPreviousExtendColumn |
CTRL+SHIFT+ALT+LEFT ARROW |
CTRL+SHIFT+ALT+LEFT ARROW |
CTRL+SHIFT+ALT+LEFT ARROW |
CTRL+SHIFT+ALT+LEFT ARROW |
Text Viewing
These shortcuts are for changing how text is displayed without changing the text itself, for example, by hiding a selected area or by outlining methods.
Command |
Visual Basic 6 Scheme |
Visual Studio 6 Scheme |
Visual C# 2005 Scheme |
Visual C++ 6, Visual C++ 2 Schemes |
---|---|---|---|---|
Edit.ClearBookmarks |
CTRL+K, CTRL+L |
CTRL+K, CTRL+L |
CTRL+K, CTRL+L |
CTRL + SHIFT + F2 |
Edit.CollapseAllOutlining |
CTRL+M, CTRL+A |
|
CTRL+M, CTRL+A |
CTRL+M, CTRL+A |
Edit.CollapseCurrentRegion |
CTRL+M, CTRL+S |
|
CTRL+M, CTRL+S |
CTRL+M, CTRL+S |
Edit.CollapseTag |
CTRL+M, CTRL+T |
|
CTRL+M, CTRL+T |
CTRL+M, CTRL+T |
Edit.CollapsetoDefinitions |
CTRL+M, CTRL+O |
|
CTRL+M, CTRL+O |
CTRL+M, CTRL+O |
Edit.DecreaseFilterLevel |
ALT+, |
ALT+, |
ALT+, |
ALT+, |
Edit.ExpandAllOutlining |
CTRL+M, CTRL+X |
|
CTRL+M, CTRL+X |
CTRL+M, CTRL+X |
Edit.ExpandCurrentRegion |
CTRL+M, CTRL+E |
|
CTRL+M, CTRL+E |
CTRL+M, CTRL+E |
Edit.HideSelection |
CTRL+M, CTRL+H |
|
CTRL+M, CTRL+H |
CTRL+M, CTRL+H |
Edit.IncreaseFilterLevel |
ALT+. |
ALT+. |
ALT+. |
ALT+. |
Edit.StopHidingCurrent |
CTRL+M, CTRL+U |
|
CTRL+M, CTRL+U |
CTRL+M, CTRL+U |
Edit.StopOutlining |
CTRL+M, CTRL+P |
|
CTRL+M, CTRL+P |
CTRL+M, CTRL+P |
Edit.ToggleAllOutlining |
CTRL+M, CTRL+L |
|
|
CTRL+M, CTRL+L |
Edit.ToggleBookmark |
CTRL+K, CTRL+K or CTRL+K, T |
CTRL+K, CTRL+K |
CTRL+K, CTRL+K or CTRL+T, B |
CTRL+F2 |
Edit.ToggleCompletionMode |
CTRL+ALT+SPACEBAR |
CTRL+ALT+SPACEBAR |
CTRL+ALT+SPACEBAR |
CTRL+ALT+SPACEBAR |
Edit.ToggleOutliningExpansion |
CTRL+M, CTRL+M |
|
CTRL+M, CTRL+M or CTRL+E, T |
CTRL+M, CTRL+M |
Edit.ToggleTaskListShortcut |
CTRL+K, CTRL+H |
CTRL+K, CTRL+H |
CTRL+K, CTRL+H |
CTRL+K, CTRL+H |
Edit.ToggleWordWrap |
|
CTRL+E, CTRL+W |
|
CTRL+E, CTRL+W |
Edit.ViewWhiteSpace |
|
CTRL+R, CTRL+W |
|
CTRL+SHIFT+8 (Visual C++6 scheme) CTRL+ALT+T (Visual C++ 2 scheme) |
Text Manipulation
These shortcuts are for deleting, moving, or formatting text in an open document.
Command |
Visual Basic 6 Scheme |
Visual Studio 6 Scheme |
Visual C# 2005 Scheme |
Visual C++ 6, Visual C++ 2 Schemes |
---|---|---|---|---|
Edit.BreakLine |
ENTER or SHIFT+ENTER |
ENTER or SHIFT+ENTER |
ENTER or SHIFT+ENTER |
SHIFT+ENTER |
Edit.CharTranspose |
|
CTRL+T |
CTRL+T |
CTRL+T |
Edit.CommentSelection |
CTRL+K, CTRL+C |
CTRL+K, CTRL+C |
CTRL+K, CTRL+C or CTRL+E, C |
CTRL+K, CTRL+C (Visual C++6 scheme only) |
Edit.CompleteWord |
ALT+RIGHT ARROW or CTRL+SPACEBAR |
ALT+RIGHT ARROW or CTRL+SPACEBAR |
ALT+RIGHT ARROW or CTRL+SPACEBAR or CTRL+K, W |
ALT+RIGHT ARROW or CTRL+SPACEBAR |
Edit.CopyParameterTip |
CTRL+SHIFT+ALT+C |
CTRL+SHIFT+ALT+C |
CTRL+SHIFT+ALT+C |
CTRL+SHIFT+ALT+C |
Edit.DeleteBackwards |
BACKSPACE or SHIFT+BACKSPACE |
BACKSPACE or SHIFT+BACKSPACE |
BACKSPACE or SHIFT+BACKSPACE |
SHIFT+BACKSPACE |
Edit.DeleteHorizontalWhiteSpace |
CTRL+K, CTRL+\ |
CTRL+K, CTRL+\ |
CTRL+K, CTRL+\ or CTRL+E,/ |
CTRL+K, CTRL+\ (Visual C++ 6 scheme only) |
Edit.FormatDocument |
CTRL+K, CTRL+D |
CTRL+K, CTRL+D |
CTRL+K, CTRL+D or CTRL+E, D |
CTRL+K, CTRL+D (Visual C++ 6 scheme only) |
Edit.FormatSelection |
CTRL+K, CTRL+F |
ALT+F8 or CTRL+K, CTRL+F |
CTRL+E, F or CTRL+K, CTRL+F |
CTRL+ALT+I or CTRL+SHIFT+F (Visual C++ 2 scheme) ALT+F8 (Visual C++ 6 scheme) |
View.ShowSmartTag |
CTRL+. |
CTRL+. |
CTRL+. |
CTRL+. |
Edit.InsertSnippet |
CTRL+K, CTRL+X |
CTRL+K, CTRL+X |
CTRL+K, CTRL+X |
CTRL+K, CTRL+X (Visual C++6 scheme only) |
Edit.InsertTab |
TAB |
TAB |
TAB |
TAB |
Edit.LineCut |
CTRL+Y |
CTRL+L or CTRL+M |
CTRL+L |
CTRL+Y (Visual C++ 2 scheme) SHIFT+ALT+L (Visual C++ 6 scheme) |
Edit.LineDelete |
|
CTRL+SHIFT+L or CTRL+SHIFT+M |
CTRL+SHIFT+L |
CTRL+SHIFT+L |
Edit.LineOpenAbove |
CTRL+ENTER |
CTRL+ENTER |
CTRL+ENTER |
CTRL+ENTER |
Edit.LineOpenBelow |
CTRL+SHIFT+ENTER |
CTRL+SHIFT+ENTER |
CTRL+SHIFT+ENTER |
CTRL+SHIFT+ENTER |
Edit.LineTranspose |
SHIFT+ALT+T |
SHIFT+ALT+T |
SHIFT+ALT+T |
SHIFT+ALT+T |
Edit.ListMembers |
CTRL+J or CTRL+K, CTRL+L |
CTRL+J or CTRL+K, CTRL+L |
CTRL+J or CTRL+K, CTRL+L |
CTRL+ALT+T |
Edit.MakeLowercase |
CTRL+U |
CTRL+U |
CTRL+U |
CTRL+U |
Edit.MakeUppercase |
CTRL+SHIFT+U |
CTRL+SHIFT+U |
CTRL+SHIFT+U |
CTRL+SHIFT+U |
Edit.OvertypeMode |
INSERT |
INSERT |
INSERT |
INSERT |
Edit.ParameterInfo |
CTRL+SHIFT+SPACEBAR or CTRL+SHIFT+I or CTRL+K, CTRL+P |
CTRL+SHIFT+SPACEBAR or CTRL+SHIFT+I or CTRL+K, CTRL+P or CTRL+I |
CTRL+SHIFT+SPACEBAR or CTRL+K, P |
CTRL+SHIFT+SPACEBAR |
Edit.PasteParameterTip |
|
CTRL+SHIFT+ALT+P |
CTRL+SHIFT+ALT+P |
CTRL+SHIFT+ALT+P |
Edit.SurroundWith |
CTRL+K, CTRL+S |
CTRL+K, CTRL+S |
CTRL+K, S |
CTRL+K, CTRL+S (Visual C++ 6 scheme only) |
Edit.SwapAnchor |
CTRL+K, CTRL+A |
CTRL+K, CTRL+A |
CTRL+K, CTRL+A or CTRL+E, A |
CTRL+SHIFT+X (Visual C++ 2 scheme) CTRL+K, CTRL+A (Visual C++ 6 scheme) |
Edit.TabifySelectedLines |
|
CTRL+Q |
|
|
Edit.TabLeft |
SHIFT+TAB |
SHIFT+TAB |
SHIFT+TAB |
SHIFT+TAB |
Edit.UncommentSelection |
CTRL+K, CTRL+U |
CTRL+K, CTRL+U |
CTRL+K, CTRL+U or CTRL+E, U |
CTRL+K, CTRL+U (Visual C++ 6 scheme only) |
Edit.UntabifySelectedLines |
|
CTRL+SHIFT+Q |
|
|
Edit.WordDeleteToEnd |
CTRL+DELETE |
CTRL+DELETE |
CTRL+DELETE |
CTRL+DELETE |
Edit.WordDeleteToStart |
CTRL+BACKSPACE |
CTRL+BACKSPACE |
CTRL+BACKSPACE |
CTRL+BACKSPACE |
Edit.WordTranspose |
CTRL+SHIFT+T |
CTRL+SHIFT+T |
CTRL+SHIFT+T |
CTRL+SHIFT+T |
Refactor.Rename |
|
CTRL+R, CTRL+R |
F2 or CTRL+R, CTRL+R |
CTRL+R, CTRL+R (Visual C++ 6 scheme only) |
View.AutoCloseTagOverride |
CTRL+SHIFT+. |
CTRL+SHIFT+. |
CTRL+SHIFT+. |
CTRL+ALT+. |
Data
These shortcuts are for working with data in the IDE.
Command |
Description |
All Keyboard Schemes |
---|---|---|
OtherContextMenus.DbTableContext.Add.Column |
Adds a new data column to the bottom of the data set. Available only in the Dataset Editor. |
CTRL+L |
OtherContextMenus.ColumnContext.InsertColumn |
Inserts a new data column above the selected column in the data set. Available only in the Dataset Editor. |
INSERT |
View.DataSources |
Displays the Data Sources window. |
SHIFT+ALT+D |
SQL.ExecutablewithDebugger |
Steps into debug mode for the currently active database object. |
ALT+F5 |
QueryDesigner.CancelRetrievingData |
Cancels or stops the currently running query. Available only in the Query and View Designer. |
CTRL+T |
QueryDesigner.Criteria |
Displays the Criteria pane of the Query and View Designer. Available only in the Query and View Designer. |
CTRL+2 |
QueryDesigner.Diagram |
Displays the Diagram pane of the Query and View Designer. Available only in the Query and View Designer. |
CTRL+1 |
QueryDesigner.ExecuteSQL |
Executes the query. Available only in the Query and View Designer. |
CTRL+R |
QueryDesigner.GoToRow |
When in the Results pane, moves focus to the tool strip docked at the bottom of the designer. Available only in the Query and View Designer. |
CTRL+G |
QueryDesigner.JoinMode |
Enables JOIN mode. Available only in the Query and View Designer. |
CTRL+SHIFT+J |
QueryDesigner.Results |
Displays the Results pane of the Query and View Designer. Available only in the Query and View Designer. |
CTRL+4 |
QueryDesigner.SQL |
Displays the SQL pane of the Query and View Designer. Available only in the Query and View Designer. |
CTRL+3 |
SQL.TSqleditorExecuteQuery |
CTRL+SHIFT+E |
File and Project Operations
These shortcuts are for file and project operations, and can be used anywhere in the IDE.
Command |
Visual Basic 6 Scheme |
Visual Studio 6 Scheme |
Visual C# 2005 Scheme |
Visual C++ 2, Visual C++ 6 Schemes |
---|---|---|---|---|
Build.BuildSelection |
|
|
SHIFT+F6 |
|
Build.BuildSolution |
CTRL+SHIFT+B |
CTRL+SHIFT+B |
F6 |
F6 CTRL+SHIFT+B |
Build.Cancel |
|
|
CTRL+BREAK |
CTRL+BREAK |
Build.Compile |
|
CTRL+F7 |
CTRL+F7 |
CTRL+F7 |
Build.RebuildSolution |
|
|
|
CTRL+ALT+F7 (C++ 6.0 only) |
File.NewFile |
|
CTRL+SHIFT+N |
CTRL+N |
CTRL+N |
File.NewProject |
CTRL+N |
CTRL+N |
CTRL+SHIFT+N |
CTRL+SHIFT+N |
File.NewWebSite |
SHIFT+ALT+N |
SHIFT+ALT+N |
SHIFT+ALT+N |
SHIFT+ALT+N |
File.OpenFile |
|
CTRL+SHIFT+O |
CTRL+O |
CTRL+O |
File.OpenProject |
CTRL+O or CTRL+SHIFT+O |
CTRL+O |
CTRL+SHIFT+O |
CTRL+SHIFT+O |
File.OpenWebSite |
SHIFT+ALT+O |
SHIFT+ALT+O |
SHIFT+ALT+O |
SHIFT+ALT+O |
File.Print |
CTRL+P |
CTRL+P |
CTRL+P |
CTRL+P |
File.Rename |
F2 |
F2 |
F2 |
F2 |
File.SaveAll |
CTRL+SHIFT+S |
CTRL+SHIFT+S |
CTRL+SHIFT+S |
CTRL+SHIFT+S |
File.SaveSelectedItems |
CTRL+S |
CTRL+S |
CTRL+S |
CTRL+S |
File.ViewinBrowser |
CTRL+SHIFT+W |
CTRL+SHIFT+W |
|
CTRL+SHIFT+W |
Project.AddClass |
|
|
SHIFT+ALT+C |
|
Project.AddExistingItem |
CTRL+D or SHIFT+ALT+A |
SHIFT+ALT+A or CTRL+SHIFT+D |
SHIFT+ALT+A |
CTRL+ALT_A |
Project.AddNewItem |
CTRL+SHIFT+A |
CTRL+SHIFT+A or CTRL+D |
CTRL+SHIFT+A |
CTRL+SHIFT+A |
Project.Override |
CTRL+ALT+INSERT |
CTRL+ALT+INSERT |
CTRL+ALT+INSERT |
CTRL+ALT+INSERT |
Project.Properties |
|
|
|
ALT+F7 |
Window Management
These shortcuts are for moving, closing, or navigating in tool windows and document windows.
Command |
Visual Studio 6 Scheme |
Visual Basic 6 Scheme |
Visual C# 2005 Scheme |
Visual C++ 6, Visual C++ 2 Schemes |
---|---|---|---|---|
View.FullScreen |
SHIFT+ALT+ENTER |
SHIFT+ALT+ENTER |
SHIFT+ALT+ENTER |
SHIFT+ALT+ENTER |
Window.ActivateDocumentWindow |
ESC |
ESC |
ESC |
ESC |
Window.CloseDocumentWindow |
CTRL+F4 |
CTRL+F4 |
CTRL+F4 |
CTRL+F4 |
Window.CloseToolWindow |
SHIFT+ESC |
SHIFT+ESC |
SHIFT+ESC |
SHIFT+ESC |
Window.MovetoNavigationBar |
CTRL+F2 |
CTRL+F2 |
CTRL+F2 |
CTRL+F8 |
Window.NextDocumentWindow |
CTRL+F6 |
CTRL+F6 |
CTRL+F6 |
CTRL+F6 |
Window.NextDocumentWindowNav |
|
CTRL+TAB |
CTRL+TAB |
CTRL+TAB |
Window.NextPane |
ALT+F6 |
ALT+F6 |
ALT+F6 |
ALT+F6 |
Window.NextTab |
CTRL+PAGE DOWN |
CTRL+PAGE DOWN |
CTRL+PAGE DOWN |
CTRL+PAGE DOWN |
Window.NextTabandAddtoSelection |
CTRL+SHIFT+ALT+PAGE DOWN |
CTRL+SHIFT+ALT+PAGE DOWN |
CTRL+SHIFT+ALT+PAGE DOWN |
CTRL+SHIFT+ALT+PAGE DOWN |
Window.NextToolWindow |
|
ALT+F7 |
|
|
Window.NextToolWindowNav |
ALT+F7 |
|
ALT+F7 |
|
Window.PreviousDocumentWindow |
CTRL+SHIFT+F6 |
CTRL+SHIFT+F6 |
CTRL+SHIFT+F6 |
CTRL+SHIFT+F6 |
Window.PreviousDocumentWindowNav |
|
CTRL+SHIFT+TAB |
CTRL+SHIFT+TAB |
CTRL+SHIFT+TAB |
Window.PreviousPane |
SHIFT+ALT+F6 |
SHIFT+ALT+F6 |
SHIFT+ALT+F6 |
SHIFT+ALT+F6 |
Window.PreviousSplitPane |
SHIFT+F6 |
SHIFT+F6 |
|
SHIFT+F6 |
Window.PreviousTab |
CTRL+PAGE UP |
CTRL+PAGE UP |
CTRL+PAGE UP |
CTRL+PAGE UP |
Window.PreviousTabandAddtoSelection |
CTRL+SHIFT+ALT+PAGE UP |
CTRL+SHIFT+ALT+PAGE UP |
CTRL+SHIFT+ALT+PAGE UP |
CTRL+SHIFT+ALT+PAGE UP |
Window.ShowEzMDIFileList |
CTRL+ALT+DOWN ARROW |
CTRL+ALT+DOWN ARROW |
CTRL+ALT+DOWN ARROW |
CTRL+ALT+DOWN ARROW |
Window.PreviousToolWindowNav |
SHIFT+ALT+F7 |
|
SHIFT+ALT+F7 |
|
Tool Windows
These shortcuts are for opening tool windows anywhere in the IDE.
Command |
Description |
Visual Studio 6 Scheme |
Visual Basic 6 Scheme |
Visual C# 2005 Scheme |
Visual C++ 6, Visual C++ 2 Schemes |
---|---|---|---|---|---|
Tools.CodeSnippetsManager |
Displays the Code Snippets Manager, which lets you search for and insert code snippets in files. |
CTRL+K, CTRL+B |
CTRL+K, CTRL+B |
CTRL+K, CTRL+B |
CTRL+K, CTRL+B (Visual C++ 6 scheme only) |
Tools.GoToCommandLine |
Puts the pointer in the Find/Command box on the Standard toolbar. |
CTRL+/ |
|
|
CTRL+/ |
View.BookmarkWindow |
Displays the Bookmark window. |
CTRL+K, CTRL+W |
CTRL+K, CTRL+W or CTRL+W, K |
CTRL+W, CTRL+B or CTRL+K, CTRL+W |
CTRL+K, CTRL+W |
View.CallHierarchy |
Displays the Call Hierarchy window |
|
CTRL+W, CTRL+C |
CTRL+ALT+K |
CTRL+ALT+K |
View.ClassView |
Displays the Class View window. |
CTRL+SHIFT+C |
CTRL+SHIFT+C |
CTRL+SHIFT+C or CTRL+W, CTRL+C |
CTRL+SHIFT+C |
View.ClassViewGoToSearchCombo |
Brings focus to the Class View Search box. |
CTRL+K, CTRL+V |
CTRL+K, CTRL+V |
CTRL+K, CTRL+V |
CTRL+K, CTRL+V |
View.CodeDefinitionWindow |
Displays the Code Definition window. |
CTRL+\, D |
CTRL+\, D |
CTRL+\, D or CTRL+W, D |
CTRL+SHIFT+V |
View.CommandWindow |
Displays the Command window, where commands can be invoked to make changes to the IDE. |
CTRL+ALT+A |
CTRL+ALT+A |
CTRL+ALT+A or CTRL+W, A |
CTRL+ALT+A |
View.DocumentOutline |
Displays the Document Outline window to view the flat or hierarchical outline of the current document. |
CTRL+ALT+T |
CTRL+ALT+T |
CTRL+ALT+T or CTRL+W, U |
CTRL+ALT+D |
View.EditLabel |
Lets you change the name of the selected item in Solution Explorer. |
F2 |
|
F2 |
|
View.ErrorList |
Displays the Error List window. |
CTRL+\, E |
CTRL+\, E or CTRL+W, E |
CTRL+\, E or CTRL+W, E |
CTRL+\,CTRL+E |
View.F#Interactive |
Displays the F# Interactive window. |
CTRL+ALT+F |
CTRL+ALT+F |
CTRL+ALT+F |
CTRL+ALT+F |
View.FindSymbolResults |
Displays the Find Symbol Results window. |
CTRL+ALT+F12 |
CTRL+ALT+F12 |
CTRL+ALT+F12 or CTRL+W, Q |
CTRL+ALT+Y |
View.ObjectBrowser |
Displays the Object Browser. |
CTRL+ALT+B or F2 |
CTRL+ALT+J or F2 |
CTRL+ALT+J or CTRL+W, J |
CTRL+ALT+J |
View.Output |
Displays the Output window to view status messages at run time. |
CTRL+ALT+O |
CTRL+ALT+O |
CTRL+ALT+O or CTRL+W, O |
CTRL+ALT+O ALT+2 |
View.PendingCheckins |
Displays the Pending Checkins window. |
|
|
CTRL+W, G |
|
View.PopBrowseContext |
Returns to the location that preceded the last browse operation. |
CTRL+SHIFT+8 |
|
CTRL+SHIFT+8 |
CTRL+NUM* |
View.PropertiesWindow |
Displays the Properties window, which lists the design-time properties and events for the currently selected item. |
F4 |
F4 |
F4 or CTRL+W, P |
ALT+ENTER |
View.PropertyPages |
Displays the property pages for the currently selected item. |
SHIFT+F4 |
SHIFT+F4 |
SHIFT+F4 |
|
View.ResourceView |
Displays the Resource View window. |
CTRL+SHIFT+E |
CTRL+SHIFT+E |
CTRL+SHIFT+E or CTRL+W, R |
CTRL+SHIFT+E |
View.ServerExplorer |
Displays Server Explorer, which lets you view and change database servers, event logs, message queues, Web services, and other operating system services. |
CTRL+ALT+S |
CTRL+ALT+S |
CTRL+ALT+S or CTRL+W, L |
CTRL+ALT+S |
View.SolutionExplorer |
Displays Solution Explorer, which lists the projects and files in the current solution. |
CTRL+ALT+J |
CTRL+ALT+L or CTRL+R |
CTRL+ALT+L or CTRL+W, S |
CTRL+ALT+L |
View.TaskList |
Displays the Task List window, which displays custom tasks, comments, shortcuts, warnings, and error messages. |
CTRL+\, T or CTRL+ALT+K (Visual Studio 6 scheme) |
CTRL+\, T or CTRL+ALT+K |
CTRL+\, T or CTRL+W, T |
CTRL+\, T or CTRL+\,CTRL+T |
View.Toolbox |
Displays the Toolbox, which contains controls and other items that can be included or used with your code. |
CTRL+ALT+X |
CTRL+ALT+X |
CTRL+ALT+X or CTRL+W, X |
CTRL+ALT+X |
View.WebBrowser |
Displays the Web Browser window, which lets you view pages on the Internet. |
CTRL+ALT+R |
CTRL+ALT+R |
CTRL+ALT+R or CTRL+W, W |
CTRL+ALT+R |
Window.PreviousToolWindow |
Brings focus to the previous toolwindow. |
|
SHIFT+ALT+F7 |
|
|
Window.PreviousToolWindowNav |
Displays the IDE Navigator, with the previous tool window selected. |
SHIFT+ALT+F7 |
|
SHIFT+ALT+F7 |
|
Class Diagram
These shortcuts are only for working with class diagrams.
Command |
Description |
All Schemes |
---|---|---|
ClassDiagram.Collapse |
Collapses expanded nodes in the Class Details window or collapses the selected shape compartment in the diagram. |
MINUS SIGN (on the numeric keypad) |
ClassDiagram.Expand |
Expands collapsed nodes in the Class Details window or expands the selected shape compartment in the diagram. |
PLUS SIGN (on the numeric keypad) |
Edit.Delete |
Removes the selected item from the class diagram. |
CTRL+DELETE |
Edit.ExpandCollapseBaseTypeList |
Expands or collapses base types in the selected shape compartment. For example, if Interface1 inherits from Interface2, Interface3, and Interface4, the parental interfaces are listed on the shape compartment for Interface1. By using this command, you can collapse the list of inherited interfaces to show only summary information about the number of base interfaces inherited by Interface1. |
SHIFT+ALT+B |
Edit.NavigateToLollipop |
Selects the Interface Lollipop for a shape compartment. The lollipop appears on shapes that implement one or more interfaces. |
SHIFT+ALT+L |
Edit.RemoveFromDiagram |
Removes the selected shape compartment from the diagram. |
DELETE |
View.ViewCode |
For the selected item, opens the corresponding file and puts the cursor in the correct location. |
F7 or ENTER |
Bookmark Window
These shortcuts are for working with bookmarks, either in the Bookmarks window or in the editor.
Command |
Visual Studio 6 Scheme |
Visual Basic 6 Scheme |
Visual C# 2005 Scheme |
Visual C++ 6, Visual C++ 2 Schemes |
---|---|---|---|---|
Edit.ClearBookmarks |
CTRL+K, CTRL+L |
CTRL+K, CTRL+L |
CTRL+B, CTRL+C |
CTRL+SHIFT+F2 |
Edit.EnableBookmark |
|
|
CTRL+B, E |
|
Edit.NextBookmark |
CTRL+K, CTRL+N |
CTRL+K, N |
CTRL+K, N or CTRL+B, N |
F2 |
Edit.NextBookmarkInFolder |
CTRL+SHIFT+K, CTRL+SHIFT+N |
CTRL+SHIFT+K, CTRL+SHIFT+N |
|
CTRL+SHIFT+K, CTRL+SHIFT+N |
Edit.ToggleBoomark |
CTRL+K, CTRL+K |
CTRL+K, CTRL+K or CTRL+T |
CTRL+K, CTRL+K or CTRL+B, T |
CTRL+F2 |
View.BookmarkWindow |
CTRL+K, CTRL+W |
CTRL+K, CTRL+W or CTRL+ K, T |
CTRL+K, CTRL+W or CTRL+W, B |
CTRL+K, CTRL+W |
Edit.PreviousBookmark |
CTRL+K, CTRL+P |
CTRL+K, P |
CTRL+B, P or CTRL+K, P |
SHIFT+ |
Edit.PreviousBookmarkInFolder |
CTRL+SHIFT+K, CTRL+SHIFT+P |
CTRL+SHIFT+K, CTRL+SHIFT+P |
|
CTRL+SHIFT+K, CTRL+SHIFT+P |
Object Browser
These shortcuts work in the Object Browser.
Command |
Visual C# 2005 Scheme |
Visual Basic 6 Scheme |
Visual Studio 6 Scheme |
Visual C++ 6, Visual C++ 2 Schemes |
---|---|---|---|---|
Edit.GoToDeclaration |
CTRL+F12 |
CTRL+F12 |
CTRL+F12 |
CTRL+ALT_F12 |
Edit.GoToDefinition |
F12 |
F12 or SHIFT+F2 |
|
F12 |
Edit.GoToReference |
|
SHIFT+F12 |
|
SHIFT+F12 |
View.ObjectBrowserBack |
|
ALT+- |
|
|
View.ObjectBrowserForward |
|
SHIFT+ALT+- |
|
|
View.ObjectBrowserGoToSearchCombo |
CTRL+K, CTRL+R |
CTRL+K, CTRL+R |
CTRL+K, CTRL+R |
Image Editor
These shortcuts work for the Image editor.
Command |
Definition |
All Keyboard Schemes |
---|---|---|
Image.AirbrushTool |
Draws by using an airbrush with the selected size and color. |
CTRL+A |
Image.BrushTool |
Draws by using a brush with the selected shape, size, and color. |
CTRL+B |
Image.CopyandOutlineSelection |
Creates a copy of the current selection and outlines it. If the background color is in the current selection, it will be excluded if you have transparent selected. For more information, see Choosing a Transparent or Opaque Background (Image Editor for Icons). |
CTRL+SHIFT+U |
Image.DrawOpaque |
Makes the current selection either opaque or transparent. For more information, see Choosing a Transparent or Opaque Background (Image Editor for Icons). |
CTRL+J |
Image.EllipseTool |
Draws an ellipse that has the selected line width and color. |
ALT+P |
Image.EraseTool |
Erases a part of the image (with the current background color). |
CTRL+SHIFT+I |
Image.FilledEllipseTool |
Draws a filled ellipse. |
CTRL+SHIFT+ALT+P |
Image.FilledRectangleTool |
Draws a filled rectangle. |
CTRL+SHIFT+ALT+R |
Image.FilledRoundedRectangleTool |
Draws a filled round rectangle. |
CTRL+SHIFT+ALT+W |
Image.FillTool |
Fills an area. |
CTRL+F |
Image.FlipHorizontal |
Flips the image or selection horizontally. |
CTRL+H |
Image.FlipVertical |
Flips the image or selection vertically. |
SHIFT+ALT+H |
Image.LargerBrush |
Increases the brush size by one pixel in each direction. To decrease the brush size, see Image.SmallerBrush in this table. |
CTRL+= |
Image.LineTool |
Draws a straight line with the selected shape, size, and color. |
CTRL+L |
Image.MagnificationTool |
Switches to the Magnify tool, which lets you to magnify specific sections of your image. |
CTRL+M |
Image.Magnify |
Toggles between the current magnification and 1:1 magnification. |
CTRL+SHIFT+M |
Image.NewImageType |
Opens the New <Device> Image Type dialog box with which you can create an image for a different image type. For more information, see New <Device> Image Type Dialog Box (Image Editor for Icons). |
INSERT |
Image.NextColor |
Changes the drawing foreground color to the next palette color. |
CTRL+RIGHT ARROW or CTRL+] |
Image.NextRightColor |
Changes the drawing background color to the next palette color. |
CTRL+SHIFT+RIGHT ARROW or CTRL+SHIFT+] |
Image.OutlinedEllipseTool |
Draws a filled ellipse with an outline. |
SHIFT+ALT+P |
Image.OutlinedRectangleTool |
Draws a filled rectangle with an outline |
SHIFT+ALT+R |
Image.OutlinedRoundedRectangleTool |
Draws a filled round rectangle with an outline. |
SHIFT+ALT+W |
Image.PencilTool |
Draws using a single-pixel pencil. |
CTRL+I |
Image.PreviousColor |
Changes the drawing foreground color to the previous palette color. |
CTRL+LEFT ARROW or CTRL+[ |
Image.PreviousRightColor |
Changes the drawing background color to the previous palette color. |
CTRL+SHIFT+LEFT ARROW or CTRL+SHIFT+[ |
Image.RectangleSelectionTool |
Selects a rectangular part of the image to move, copy, or edit. |
SHIFT+ALT+S |
Image.RectangleTool |
Draws a rectangle that has the selected line width and color. |
ALT+R |
Image.Rotate90Degrees |
Rotates the image or selection 90 degrees. |
CTRL+SHIFT+H |
Image.RoundedRectangleTool |
Draws a round rectangle that has the selected line width and color. |
ALT+W |
Image.ShowGrid |
Toggles the pixel grid (selects or clears the Pixel grid option in the Grid Settings dialog box. For more information, see Grid Settings Dialog Box (Image Editor for Icons). |
CTRL+ALT+S |
Image.ShowTileGrid |
Toggles the tile grid (selects or clears the Tile grid option in the Grid Settings dialog box. For more information, see Grid Settings Dialog Box (Image Editor for Icons). |
CTRL+SHIFT+ALT+S |
Image.SmallBrush |
Reduces the brush size to one pixel. (See also Image.LargerBrush and Image.SmallerBrush in this table.) |
CTRL+. |
Image.SmallerBrush |
Reduces the brush size by one pixel in each direction. To expand the brush size again, see Image.LargerBrush in this table. |
CTRL+- |
Image.TextTool |
Opens the Text Tool dialog box. For more information, see Text Tool Dialog Box (Image Editor for Icons). |
CTRL+T |
Image.UseSelectionasBrush |
Draws using the current selection as a brush. |
CTRL+U |
Image.ZoomIn |
Increases the magnification for the current view. |
CTRL+UP ARROW or CTRL+SHIFT+. |
Image.ZoomOut |
Reduces the magnification of the current view. |
CTRL+DOWN ARROW or CTRL+SHIFT+, |
Managed Resources Editor
These shortcuts are only for making changes in the Managed Resources editor.
Command |
Description |
All Keyboard Schemes |
---|---|---|
Edit.EditCell |
Switches to edit mode in the selected cell in Other view and Strings view. |
F2 |
Edit.Remove |
Removes the selected file in Files view, Images view, Icons view, and Audio view. |
DELETE |
Edit.RemoveRow |
Deletes the selected row in Other view and Strings view. |
CTRL+DELETE |
Edit.SelectionCancel |
Cancels the current selection |
ESC |
Resources.Audio |
Switches the Managed Resources editor to Audio view, which displays sound files in the current project. Formats of displayed files include .wav, .wma, and .mp3. |
CTRL+4 |
Resources.Files |
Switches the Managed Resources editor to Files view, which displays files that are not found in the other views. |
CTRL+5 |
Resources.Icons |
Switches the Managed Resources editor to Icons view, which displays icon (*.ico) files in the current project. |
CTRL+3 |
Resources.Images |
Switches the Managed Resources editor to Images view, which displays image files in the current project. Formats of displayed files include .bmp, .jpg, and .gif. |
CTRL+2 |
Resources.Other |
Switches the Managed Resources editor to Other view, which displays a settings grid for adding other types that support string serialization. |
CTRL+6 |
Resources.Strings |
Switches the Managed Resources editor to Strings view, which displays strings in a grid that has columns for the Name, Value, and Comment of the string resource. |
CTRL+1 |
Refactoring
These shortcuts are for performing refactoring operations. For more information, see Refactoring (C#). These shortcuts are not available in any of the Visual Basic keyboard schemes.
Command |
Description |
Visual C# 2005, Visual C++ 6, Visual Studio 6 Schemes |
---|---|---|
Refactor.EncapsulateField |
Displays the Encapsulate Field dialog box, which lets you create a property from an existing field and updates all references to use the new property. |
CTRL+R, E |
Refactor.ExtractInterface |
Displays the Extract Interface dialog box, which lets you create a new interface that has members derived from an existing class, struct, or interface. |
CTRL+R, I |
Refactor.ExtractMethod |
Displays the Extract Method dialog box, which lets you create a method from the selected code. |
CTRL+R, M |
Refactor.RemoveParameters |
Displays the Remove Parameters dialog box, which removes parameters from methods, indexers, or delegates by changing the declaration at any locations where the member is called. For more information, see Remove Parameters Refactoring (C#). |
CTRL+R, V |
Refactor.Rename |
Displays the Rename dialog box, which lets you rename all references for an identifier. |
CTRL+R, R |
Refactor.ReorderParameters |
Displays the Reorder Parameters dialog box, which lets you change the order of the parameters for methods, indexers, and delegates. |
CTRL+R, O |
Debugging
These shortcuts are for debugging code.
Command |
Visual Basic 6 Scheme |
Visual C# 2005 Scheme |
Visual Studio 6 Scheme |
Visual C++ 6, Visual C++ 2 Schemes |
---|---|---|---|---|
Debug.ApplyCodeChanges |
|
ALT+F10 |
ALT+F10 |
ALT+F10 |
Debug.AttachtoProcess |
|
|
CTRL+SHIFT+R |
|
Debug.Autos |
CTRL+ALT+V, A |
CTRL+ALT+V, A or CTRL+D, A |
CTRL+ALT+V, A |
CTRL+ALT+V, A |
Debug.BreakAll |
CTRL+BREAK |
CTRL+ALT+BREAK |
CTRL+ALT+BREAK or CTRL+BREAK |
CTRL+ALT+BREAK |
Debug.BreakatFunction |
CTRL+B |
CTRL+B or CTRL+D, N |
|
CTRL+B |
Debug.Breakpoints |
CTRL+ALT+B |
CTRL+ALT+B or CTRL+D, CTRL+B |
CTRL+ B |
ALT+F9 |
Debug.CallStack |
CTRL+L or CTRL+ALT+C |
CTRL+ALT+C or CTRL+D, C |
CTRL+ALT+C |
ALT+7 |
Debug.DeleteAllBreakpoints |
CTRL+SHIFT+F9 |
CTRL+SHIFT+F9 |
CTRL+SHIFT+F9 |
CTRL+SHIFT+F9 |
Debug.Disassembly |
|
CTRL+ALT+D |
CTRL+ALT+D |
ALT+8 |
Debug.EnableBreakpoint |
|
CTRL+F9 |
CTRL+F9 |
CTRL+F9 |
Debug.Exceptions |
CTRL+ALT+E |
CTRL+ALT+E or CTRL+D, E |
CTRL+ALT+E |
CTRL+ALT+E |
Debug.Immediate |
CTRL+G or CTRL+ALT+I |
CTRL+ALT+I or CTRL+D, I |
CTRL+ALT+I |
CTRL+ALT+I |
Debug.Locals |
CTRL+ALT+V, L |
CTRL+ALT+V, L or CTRL+D, L |
CTRL+ALT+V, L or CTRL+ALT+L |
ALT+4 |
Debug.LocationToolbar.ProcessCombo |
CTRL+5 |
CTRL+5 |
CTRL+5 |
CTRL+5 |
Debug.LocationToolbar.StackFrameCombo |
CTRL+7 |
CTRL+7 |
CTRL+7 |
CTRL+7 |
Debug.LocationToolbar.ThreadCombo |
CTRL+6 |
CTRL+6 |
CTRL+6 |
CTRL+6 |
Debug.LocationToolbar.ToggleCurrentThreadFlaggedState |
CTRL+8 |
CTRL+8 |
CTRL+8 |
CTRL+8 |
Debug.LocationToolbar.ToggleFlaggedThreads |
CTRL+9 |
CTRL+9 |
CTRL+9 |
CTRL+9 |
Debug.Memory1 |
CTRL+ALT+M, 1 |
CTRL+ALT+M, 1 or CTRL+D, Y |
CTRL+ALT+M, 1 |
ALT+6 |
Debug.Memory2 |
CTRL+ALT+M, 2 |
CTRL+ALT+M, 2 |
CTRL+ALT+M, 2 |
CTRL+ALT+M, 2 |
Debug.Memory3 |
CTRL+ALT+M, 3 |
CTRL+ALT+M, 3 |
CTRL+ALT+M, 3 |
CTRL+ALT+M, 3 |
Debug.Memory4 |
CTRL+ALT+M, 4 |
CTRL+ALT+M, 4 |
CTRL+ALT+M, 4 |
CTRL+ALT+M, 4 |
Debug.Modules |
CTRL+ALT+U |
CTRL+ALT+U or CTRL+D, M |
CTRL+ALT+U |
CTRL+ALT+U |
Debug.ParallelStacks |
CTRL+SHIFT+D, S or CTRL+ALT+D, S |
CTRL+SHIFT+D, S |
|
CTRL+SHIFT+D, S |
Debug.ParallelTasks |
CTRL+SHIFT+D, K or CTRL+ALT+D, K |
CTRL+SHIFT+D, K |
CTRL+SHIFT+ALT+D, K |
CTRL+SHIFT+ALT+D, CTRL+SHIFT+K |
Debug.Processes |
CTRL+ALT+Z |
CTRL+ALT+Z or CTRL+D, P |
CTRL+ALT+Z |
CTRL+ALT+Z or CTRL+SHIFT+ALT+P |
Debug.QuickWatch |
CTRL+ALT+Q or SHIFT+F9 |
CTRL+ALT+Q or SHIFT+F9 or CTRL+D, Q |
CTRL+ALT+Q or SHIFT+F9 |
CTRL+ALT+Q or SHIFT+F9 |
Debug.RefreshWindowsapp |
|
CTRL+SHIFT+R |
|
CTRL+SHIFT+R |
Debug.Registers |
|
CTRL+ALT+G or CTRL+D, R |
CTRL+ALT+G |
ALT+5 or CTRL+ALT+G |
Debug.Restart |
SHIFT+F5 |
CTRL+SHIFT+F5 |
CTRL+SHIFT+F5 |
CTRL+SHIFT+F5 |
Debug.RunToCursor |
CTRL+F10 or CTRL+F8 |
CTRL+F10 |
CTRL+F10 |
CTRL+F10 |
Debug.SetNextStatement |
CTRL+F9 or CTRL+SHIFT+F10 |
CTRL+SHIFT+F10 |
CTRL+SHIFT+F10 |
CTRL+SHIFT+F10 |
Debug.ShowNextStatement |
|
ALT+* (on the numeric keypad) |
ALT+* (on the numeric keypad) |
ALT+* (on the numeric keypad) |
Debug.Start |
F5 |
F5 |
F5 |
F5 |
Debug.StartWithoutDebugging |
CTRL+F5 |
CTRL+F5 |
CTRL+F5 |
CTRL+F5 |
Debug.StepInto |
F8 or F11 |
F11 |
F11 |
F11 |
Debug.StepIntoCurrentProcess |
CTRL+ALT+F11 |
CTRL+ALT+F11 |
CTRL+ALT+F11 |
CTRL+ALT+F11 |
Debug.StepIntoSpecific |
SHIFT+ALT+F11 |
SHIFT+ALT+F11 |
SHIFT+ALT+F11 |
SHIFT+ALT+F11 |
Debug.StepOut |
CTRL+SHIFT+F8 or SHIFT+F11 |
SHIFT+F11 |
SHIFT+F11 |
SHIFT+F11 |
Debug.StepOutCurrentProcess |
CTRL+SHIFT+ALT+F11 |
CTRL+SHIFT+ALT+F11 |
CTRL+SHIFT+ALT+F11 |
CTRL+SHIFT+ALT+F11 |
Debug.StepOver |
SHIFT+F8 or F10 |
F10 |
F10 |
F10 |
Debug.StepOverCurrentProcess |
CTRL+ALT+F10 |
CTRL+ALT+F10 |
CTRL+ALT+F10 |
CTRL+ALT+F10 |
Debug.StopDebugging |
CTRL+ALT+BREAK |
SHIFT+F5 |
SHIFT+F5 |
SHIFT+F5 |
Debug.ToggleBreakpoint |
F9 |
F9 |
F9 |
F9 |
Debug.ToggleDisassembly |
|
CTRL+F11 or CTRL+D, D |
CTRL+F11 |
CTRL+F11 |
Debug.Watch1 |
CTRL+ALT+W, 1 |
CTRL+ALT+W, 1 or CTRL+D, W |
CTRL+ALT+W, 1 |
CTRL+ALT+W, 1 |
Debug.Watch2 |
CTRL+ALT+W, 2 |
CTRL+ALT+W, 2 |
CTRL+ALT+W, 2 |
CTRL+ALT+W, 2 |
Debug.Watch3 |
CTRL+ALT+W, 3 |
CTRL+ALT+W, 3 |
CTRL+ALT+W, 3 |
CTRL+ALT+W, 3 |
Debug.Watch4 |
CTRL+ALT+W, 4 |
CTRL+ALT+W, 4 |
CTRL+ALT+W, 4 |
CTRL+ALT+W, 4 |
DebuggerContextMenus.BreakpointsWindow.Delete |
ALT+F9, D |
ALT+F9, D |
ALT+F9, D |
|
DebuggerContextMenus.BreakpointsWindow.GoToDisassembly |
ALT+F9, A |
ALT+F9, A |
ALT+F9, A |
|
DebuggerContextMenus.BreakpointsWindow.GoToSourceCode |
ALT+F9, S |
ALT+F9, S |
ALT+F9, S |
|
Tools.AttachToProcess |
CTRL+ALT+P |
CTRL+ALT+P |
CTRL+ALT+P |
CTRL+ALT+P |
Testing
These shortcuts are for working with tests.
Command |
Description |
Visual Basic 6 Scheme |
---|---|---|
DebugAllTestsInSolution |
Runs all tests in the solution in Debug mode. |
CTRL+SHIFT+D, A |
DebugTestsInCurrentContext |
Runs all tests associated with the current context in Debug mode. |
CTRL+SHIFT+D, T |
RunTestsInCurrentContext |
Runs all tests associated with the current context without attaching a debugger. |
CTRL+SHIFT+R, T |
Integrated Help
These shortcuts are for viewing topics in Help and moving among them.
Command |
Description |
Visual Studio 6 Scheme |
Visual Basic 6, Visual C++ 6, Visual C++ 2 Schemes |
Visual C# 2005 Scheme |
---|---|---|---|---|
Help.F1Help |
Displays a topic from Help that corresponds to the user interface that has focus. |
F1 |
F1 |
F1 |
Help.ViewHelp |
Displays the Help Viewer. |
CTRL+ F1 |
CTRL+F1 |
CTRL+ F1, CTRL+V Or CTRL+F1,V |
Help.WindowHelp |
Displays a topic from Help that corresponds to the user interface that has focus. |
SHIFT+F1 |
SHIFT+F1 |
SHIFT+F1 |