Visual Studio Keyboard Shortcuts (排序版)
Command | Shortcut |
Build.BuildSolution #0 | Global::Ctrl+Shift+B |
Build.BuildSolution #1 | Global::F6 |
Build.Cancel | Global::Ctrl+Break |
Build.Compile | Global::Ctrl+F7 |
ClassDiagram.Collapse | Class Diagram::Num - |
ClassDiagram.Expand | Class Diagram::Num + |
ClassViewContextMenus.ClassViewMultiselectProjectreferencesItems.Properties | Global::Alt+Enter |
Data.Column | DataSet Editor::Ctrl+L |
Data.Execute | Global::Ctrl+Alt+F5 |
Data.InsertColumn | DataSet Editor::Ins |
Data.ShowDataSources | Global::Shift+Alt+D |
Data.StepInto | Global::Alt+F5 |
Debug.ApplyCodeChanges | Global::Alt+F10 |
Debug.Autos #0 | Global::Ctrl+Alt+V, A |
Debug.Autos #1 | Global::Ctrl+D, A |
Debug.Autos #2 | Global::Ctrl+D, Ctrl+A |
Debug.BreakAll | Global::Ctrl+Alt+Break |
Debug.BreakatFunction #0 | Global::Ctrl+B |
Debug.BreakatFunction #1 | Global::Ctrl+D, N |
Debug.BreakatFunction #2 | Global::Ctrl+D, Ctrl+N |
Debug.Breakpoints #0 | Global::Ctrl+Alt+B |
Debug.Breakpoints #1 | Global::Ctrl+D, B |
Debug.Breakpoints #2 | Global::Ctrl+D, Ctrl+B |
Debug.CallStack #0 | Global::Ctrl+D, C |
Debug.CallStack #1 | Global::Ctrl+D, Ctrl+C |
Debug.DeleteAllBreakpoints | Global::Ctrl+Shift+F9 |
Debug.Disassembly | Global::Ctrl+Alt+D |
Debug.EnableBreakpoint | Global::Ctrl+F9 |
Debug.Exceptions #0 | Global::Ctrl+Alt+E |
Debug.Exceptions #1 | Global::Ctrl+D, E |
Debug.Exceptions #2 | Global::Ctrl+D, Ctrl+E |
Debug.Immediate #0 | Global::Ctrl+Alt+I |
Debug.Immediate #1 | Global::Ctrl+D, I |
Debug.Immediate #2 | Global::Ctrl+D, Ctrl+I |
Debug.Locals #0 | Global::Ctrl+Alt+V, L |
Debug.Locals #1 | Global::Ctrl+D, L |
Debug.Locals #2 | Global::Ctrl+D, Ctrl+L |
Debug.LocationToolbar.ProcessCombo | Global::Ctrl+5 |
Debug.LocationToolbar.StackFrameCombo | Global::Ctrl+7 |
Debug.LocationToolbar.ThreadCombo | Global::Ctrl+6 |
Debug.LocationToolbar.ToggleCurrentThreadFlaggedState | Global::Ctrl+8 |
Debug.LocationToolbar.ToggleFlaggedThreads | Global::Ctrl+9 |
Debug.Memory1 #0 | Global::Ctrl+Alt+M, 1 |
Debug.Memory1 #1 | Global::Ctrl+D, Y |
Debug.Memory1 #2 | Global::Ctrl+D, Ctrl+Y |
Debug.Memory2 | Global::Ctrl+Alt+M, 2 |
Debug.Memory3 | Global::Ctrl+Alt+M, 3 |
Debug.Memory4 | Global::Ctrl+Alt+M, 4 |
Debug.Modules #0 | Global::Ctrl+Alt+U |
Debug.Modules #1 | Global::Ctrl+D, M |
Debug.Modules #2 | Global::Ctrl+D, Ctrl+M |
Debug.Processes #0 | Global::Ctrl+Alt+Z |
Debug.Processes #1 | Global::Ctrl+D, P |
Debug.Processes #2 | Global::Ctrl+D, Ctrl+P |
Debug.QuickWatch #0 | Global::Ctrl+Alt+Q |
Debug.QuickWatch #1 | Global::Shift+F9 |
Debug.QuickWatch #2 | Global::Ctrl+D, Q |
Debug.QuickWatch #3 | Global::Ctrl+D, Ctrl+Q |
Debug.Registers #0 | Global::Ctrl+Alt+G |
Debug.Registers #1 | Global::Ctrl+D, R |
Debug.Registers #2 | Global::Ctrl+D, Ctrl+R |
Debug.Restart | Global::Ctrl+Shift+F5 |
Debug.RunToCursor | Global::Ctrl+F10 |
Debug.ShowNextStatement | Global::Alt+Num * |
Debug.Start | Global::F5 |
Debug.StartWithoutDebugging | Global::Ctrl+F5 |
Debug.StepInto | Global::F11 |
Debug.StepIntoCurrentProcess | Global::Ctrl+Alt+F11 |
Debug.StepIntoSpecific | Global::Shift+Alt+F11 |
Debug.StepOut | Global::Shift+F11 |
Debug.StepOutCurrentProcess | Global::Ctrl+Shift+Alt+F11 |
Debug.StepOver | Global::F10 |
Debug.StepOverCurrentProcess | Global::Ctrl+Alt+F10 |
Debug.StopDebugging | Global::Shift+F5 |
Debug.Threads #0 | Global::Ctrl+Alt+H |
Debug.Threads #1 | Global::Ctrl+D, T |
Debug.Threads #2 | Global::Ctrl+D, Ctrl+T |
Debug.ToggleBreakpoint | Global::F9 |
Debug.ToggleDisassembly #0 | Global::Ctrl+F11 |
Debug.ToggleDisassembly #1 | Global::Ctrl+D, D |
Debug.ToggleDisassembly #2 | Global::Ctrl+D, Ctrl+D |
Debug.Watch #0 | Global::Ctrl+Alt+W, 1 |
Debug.Watch #1 | Global::Ctrl+D, W |
Debug.Watch #2 | Global::Ctrl+D, Ctrl+W |
Debug.Watch2 | Global::Ctrl+Alt+W, 2 |
Debug.Watch3 | Global::Ctrl+Alt+W, 3 |
Debug.Watch4 | Global::Ctrl+Alt+W, 4 |
DebuggerContextMenus.BreakpointsWindow.Delete | Global::Alt+F9, D |
DebuggerContextMenus.BreakpointsWindow.GoToDisassembly | Global::Alt+F9, A |
DebuggerContextMenus.BreakpointsWindow.GoToSourceCode | Global::Alt+F9, S |
Edit.BreakLine #0 | Windows Forms Designer::Enter |
Edit.BreakLine #1 | Text Editor::Shift+Enter |
Edit.BreakLine #2 | Text Editor::Enter |
Edit.BreakLine #3 | Report Designer::Enter |
Edit.CharLeft #0 | Windows Forms Designer::Left Arrow |
Edit.CharLeft #1 | Text Editor::Left Arrow |
Edit.CharLeft #2 | Report Designer::Left Arrow |
Edit.CharLeftExtend #0 | Windows Forms Designer::Shift+Left Arrow |
Edit.CharLeftExtend #1 | Text Editor::Shift+Left Arrow |
Edit.CharLeftExtend #2 | Report Designer::Shift+Left Arrow |
Edit.CharLeftExtendColumn | Text Editor::Shift+Alt+Left Arrow |
Edit.CharRight #0 | Windows Forms Designer::Right Arrow |
Edit.CharRight #1 | Text Editor::Right Arrow |
Edit.CharRight #2 | Report Designer::Right Arrow |
Edit.CharRightExtend #0 | Windows Forms Designer::Shift+Right Arrow |
Edit.CharRightExtend #1 | Text Editor::Shift+Right Arrow |
Edit.CharRightExtend #2 | Report Designer::Shift+Right Arrow |
Edit.CharRightExtendColumn | Text Editor::Shift+Alt+Right Arrow |
Edit.CharTranspose | Text Editor::Ctrl+T |
Edit.ClearBookmarks #0 | Text Editor::Ctrl+B, C |
Edit.ClearBookmarks #1 | Text Editor::Ctrl+B, Ctrl+C |
Edit.CollapseTag | Text Editor::Ctrl+M, Ctrl+T |
Edit.CollapsetoDefinitions #0 | Text Editor::Ctrl+M, Ctrl+O |
Edit.CollapsetoDefinitions #1 | Text Editor::Ctrl+M, O |
Edit.CommentSelection #0 | Text Editor::Ctrl+K, Ctrl+C |
Edit.CommentSelection #1 | Text Editor::Ctrl+E, C |
Edit.CommentSelection #2 | Text Editor::Ctrl+E, Ctrl+C |
Edit.CompleteWord #0 | Text Editor::Alt+Right Arrow |
Edit.CompleteWord #1 | Text Editor::Ctrl+Space |
Edit.CompleteWord #2 | Text Editor::Ctrl+K, W |
Edit.CompleteWord #3 | Text Editor::Ctrl+K, Ctrl+W |
Edit.Copy #0 | Global::Ctrl+C |
Edit.Copy #1 | Global::Ctrl+Ins |
Edit.CopyParameterTip | Text Editor::Ctrl+Shift+Alt+C |
Edit.Cut #0 | Global::Ctrl+X |
Edit.Cut #1 | Global::Shift+Del |
Edit.CycleClipboardRing #0 | Global::Ctrl+Shift+V |
Edit.CycleClipboardRing #1 | Global::Ctrl+Shift+Ins |
Edit.DecreaseFilterLevel | Text Editor::Alt+, |
Edit.Delete #0 | Class Diagram::Ctrl+Del |
Edit.Delete #1 | Global::Del |
Edit.DeleteBackwards #0 | Text Editor::Shift+Bkspce |
Edit.DeleteBackwards #1 | Text Editor::Bkspce |
Edit.DeleteHorizontalWhiteSpace #0 | Text Editor::Ctrl+K, Ctrl+\ |
Edit.DeleteHorizontalWhiteSpace #1 | Text Editor::Ctrl+E, \ |
Edit.DeleteHorizontalWhiteSpace #2 | Text Editor::Ctrl+E, Ctrl+\ |
Edit.DocumentEnd #0 | Windows Forms Designer::End |
Edit.DocumentEnd #1 | Text Editor::Ctrl+End |
Edit.DocumentEndExtend #0 | Windows Forms Designer::Shift+End |
Edit.DocumentEndExtend #1 | Text Editor::Ctrl+Shift+End |
Edit.DocumentStart #0 | Windows Forms Designer::Home |
Edit.DocumentStart #1 | Text Editor::Ctrl+Home |
Edit.DocumentStartExtend #0 | Windows Forms Designer::Shift+Home |
Edit.DocumentStartExtend #1 | Text Editor::Ctrl+Shift+Home |
Edit.EditCell #0 | Managed Resources Editor::F2 |
Edit.EditCell #1 | Settings Designer::F2 |
Edit.EnableBookmark #0 | Text Editor::Ctrl+B, E |
Edit.EnableBookmark #1 | Text Editor::Ctrl+B, Ctrl+E |
Edit.ExpandCollapseBaseTypeList | Class Diagram::Shift+Alt+B |
Edit.Find | Global::Ctrl+F |
Edit.FindAllReferences #0 | Global::Ctrl+K, R |
Edit.FindAllReferences #1 | Global::Ctrl+K, Ctrl+R |
Edit.FindAllReferences #2 | Global::Shift+F12 |
Edit.FindinFiles | Global::Ctrl+Shift+F |
Edit.FindNext | Global::F3 |
Edit.FindNextSelected | Global::Ctrl+F3 |
Edit.FindPrevious | Global::Shift+F3 |
Edit.FindPreviousSelected | Global::Ctrl+Shift+F3 |
Edit.FindSymbol | Global::Alt+F12 |
Edit.FormatDocument #0 | Text Editor::Ctrl+K, Ctrl+D |
Edit.FormatDocument #1 | Text Editor::Ctrl+E, D |
Edit.FormatDocument #2 | Text Editor::Ctrl+E, Ctrl+D |
Edit.FormatSelection #0 | Text Editor::Ctrl+K, Ctrl+F |
Edit.FormatSelection #1 | Text Editor::Ctrl+E, F |
Edit.FormatSelection #2 | Text Editor::Ctrl+E, Ctrl+F |
Edit.GenerateMethodStub #0 | Global::Ctrl+K, M |
Edit.GenerateMethodStub #1 | Global::Ctrl+K, Ctrl+M |
Edit.GoTo | Global::Ctrl+G |
Edit.GotoBrace | Text Editor::Ctrl+] |
Edit.GotoBraceExtend | Text Editor::Ctrl+Shift+] |
Edit.GoToDeclaration | Global::Ctrl+F12 |
Edit.GoToDefinition | Global::F12 |
Edit.GoToFindCombo | Global::Ctrl+/ |
Edit.GoToNextLocation | Global::F8 |
Edit.HideSelection | Text Editor::Ctrl+M, Ctrl+H |
Edit.IncreaseFilterLevel | Text Editor::Alt+. |
Edit.IncrementalSearch | Text Editor::Ctrl+I |
Edit.InsertSnippet #0 | Global::Ctrl+K, Ctrl+X |
Edit.InsertSnippet #1 | Global::Ctrl+K, X |
Edit.InsertTab #0 | Windows Forms Designer::Tab |
Edit.InsertTab #1 | Text Editor::Tab |
Edit.InsertTab #2 | Report Designer::Tab |
Edit.LineCut | Text Editor::Ctrl+L |
Edit.LineDelete | Text Editor::Ctrl+Shift+L |
Edit.LineDown #0 | Windows Forms Designer::Down Arrow |
Edit.LineDown #1 | Text Editor::Down Arrow |
Edit.LineDown #2 | Report Designer::Down Arrow |
Edit.LineDownExtend #0 | Windows Forms Designer::Shift+Up Arrow |
Edit.LineDownExtend #1 | Text Editor::Shift+Down Arrow |
Edit.LineDownExtend #2 | Report Designer::Shift+Down Arrow |
Edit.LineDownExtendColumn | Text Editor::Shift+Alt+Down Arrow |
Edit.LineEnd | Text Editor::End |
Edit.LineEndExtend | Text Editor::Shift+End |
Edit.LineEndExtendColumn | Text Editor::Shift+Alt+End |
Edit.LineOpenAbove | Text Editor::Ctrl+Enter |
Edit.LineOpenBelow | Text Editor::Ctrl+Shift+Enter |
Edit.LineStart | Text Editor::Home |
Edit.LineStartExtend | Text Editor::Shift+Home |
Edit.LineStartExtendColumn | Text Editor::Shift+Alt+Home |
Edit.LineTranspose | Text Editor::Shift+Alt+T |
Edit.LineUp #0 | Windows Forms Designer::Up Arrow |
Edit.LineUp #1 | Text Editor::Up Arrow |
Edit.LineUp #2 | Report Designer::Up Arrow |
Edit.LineUpExtend #0 | Windows Forms Designer::Shift+Down Arrow |
Edit.LineUpExtend #1 | Text Editor::Shift+Up Arrow |
Edit.LineUpExtend #2 | Report Designer::Shift+Up Arrow |
Edit.LineUpExtendColumn | Text Editor::Shift+Alt+Up Arrow |
Edit.ListMembers #0 | Text Editor::Ctrl+J |
Edit.ListMembers #1 | Text Editor::Ctrl+K, L |
Edit.ListMembers #2 | Text Editor::Ctrl+K, Ctrl+L |
Edit.MakeLowercase | Text Editor::Ctrl+U |
Edit.MakeUppercase | Text Editor::Ctrl+Shift+U |
Edit.MoveControlDown #0 | Global::Ctrl+Down Arrow |
Edit.MoveControlDown #1 | VC Dialog Editor::Down Arrow |
Edit.MoveControlDown #2 | HTML Editor Design View::Ctrl+Down Arrow |
Edit.MoveControlDown #3 | Windows Forms Designer::Ctrl+Down Arrow |
Edit.MoveControlDown #4 | Report Designer::Ctrl+Down Arrow |
Edit.MoveControlDownGrid | Global::Down Arrow |
Edit.MoveControlLeft #0 | Global::Ctrl+Left Arrow |
Edit.MoveControlLeft #1 | VC Dialog Editor::Left Arrow |
Edit.MoveControlLeft #2 | Windows Forms Designer::Ctrl+Left Arrow |
Edit.MoveControlLeft #3 | Report Designer::Ctrl+Left Arrow |
Edit.MoveControlLeftGrid | Global::Left Arrow |
Edit.MoveControlRight #0 | Global::Ctrl+Right Arrow |
Edit.MoveControlRight #1 | VC Dialog Editor::Right Arrow |
Edit.MoveControlRight #2 | Windows Forms Designer::Ctrl+Right Arrow |
Edit.MoveControlRight #3 | Report Designer::Ctrl+Right Arrow |
Edit.MoveControlRightGrid | Global::Right Arrow |
Edit.MoveControlUp #0 | Global::Ctrl+Up Arrow |
Edit.MoveControlUp #1 | VC Dialog Editor::Up Arrow |
Edit.MoveControlUp #2 | HTML Editor Design View::Ctrl+Up Arrow |
Edit.MoveControlUp #3 | Windows Forms Designer::Ctrl+Up Arrow |
Edit.MoveControlUp #4 | Report Designer::Ctrl+Up Arrow |
Edit.MoveControlUpGrid | Global::Up Arrow |
Edit.NavigateToLollipop | Class Diagram::Shift+Alt+L |
Edit.NewAccelerator | VC Accelerator Editor::Ins |
Edit.NewString | VC String Editor::Ins |
Edit.NextBookmark #0 | Global::Ctrl+K, Ctrl+N |
Edit.NextBookmark #1 | Text Editor::Ctrl+B, N |
Edit.NextBookmark #2 | Text Editor::Ctrl+B, Ctrl+N |
Edit.NextKeyTyped | VC Accelerator Editor::Ctrl+W |
Edit.OpenFile | Global::Ctrl+Shift+G |
Edit.OvertypeMode | Text Editor::Ins |
Edit.PageDown | Text Editor::PgDn |
Edit.PageDownExtend | Text Editor::Shift+PgDn |
Edit.PageUp | Text Editor::PgUp |
Edit.PageUpExtend | Text Editor::Shift+PgUp |
Edit.ParameterInfo #0 | Text Editor::Ctrl+Shift+Space |
Edit.ParameterInfo #1 | Text Editor::Ctrl+K, P |
Edit.ParameterInfo #2 | Text Editor::Ctrl+K, Ctrl+P |
Edit.Paste #0 | Global::Ctrl+V |
Edit.Paste #1 | Global::Shift+Ins |
Edit.PasteParameterTip | Text Editor::Ctrl+Shift+Alt+P |
Edit.PreviousBookmark #0 | Global::Ctrl+K, Ctrl+P |
Edit.PreviousBookmark #1 | Text Editor::Ctrl+B, P |
Edit.PreviousBookmark #2 | Text Editor::Ctrl+B, Ctrl+P |
Edit.QuickFindSymbol | Global::Shift+Alt+F12 |
Edit.QuickInfo #0 | Text Editor::Ctrl+K, Ctrl+I |
Edit.QuickInfo #1 | Text Editor::Ctrl+K, I |
Edit.Redo #0 | Global::Ctrl+Y |
Edit.Redo #1 | Global::Shift+Alt+Bkspce |
Edit.Redo #2 | Global::Ctrl+Shift+Z |
Edit.Remove | Managed Resources Editor::Del |
Edit.RemovefromDiagram | Class Diagram::Del |
Edit.RemoveRow #0 | Managed Resources Editor::Ctrl+Del |
Edit.RemoveRow #1 | Settings Designer::Ctrl+Del |
Edit.Replace | Global::Ctrl+H |
Edit.ReplaceinFiles | Global::Ctrl+Shift+H |
Edit.ReverseIncrementalSearch | Text Editor::Ctrl+Shift+I |
Edit.ScrollColumnLeft | VC Dialog Editor::Ctrl+Left Arrow |
Edit.ScrollColumnRight | VC Dialog Editor::Ctrl+Right Arrow |
Edit.ScrollLineDown #0 | VC Dialog Editor::Ctrl+Down Arrow |
Edit.ScrollLineDown #1 | Text Editor::Ctrl+Down Arrow |
Edit.ScrollLineUp #0 | VC Dialog Editor::Ctrl+Up Arrow |
Edit.ScrollLineUp #1 | Text Editor::Ctrl+Up Arrow |
Edit.SelectAll | Global::Ctrl+A |
Edit.SelectCurrentWord | Global::Ctrl+Shift+W |
Edit.SelectionCancel #0 | Managed Resources Editor::Esc |
Edit.SelectionCancel #1 | Settings Designer::Esc |
Edit.SelectionCancel #2 | Windows Forms Designer::Esc |
Edit.SelectionCancel #3 | Text Editor::Esc |
Edit.SelectionCancel #4 | Report Designer::Esc |
Edit.SelectNextControl | Global::Tab |
Edit.SelectPreviousControl | Global::Shift+Tab |
Edit.SelectToLastGoBack | Text Editor::Ctrl+= |
Edit.ShowTileGrid | Global::Enter |
Edit.SizeControlDown #0 | Global::Ctrl+Shift+Down Arrow |
Edit.SizeControlDown #1 | VC Dialog Editor::Shift+Down Arrow |
Edit.SizeControlDown #2 | Windows Forms Designer::Ctrl+Shift+Down Arrow |
Edit.SizeControlDown #3 | Report Designer::Ctrl+Shift+Down Arrow |
Edit.SizeControlDownGrid | Global::Shift+Down Arrow |
Edit.SizeControlLeft #0 | Global::Ctrl+Shift+Left Arrow |
Edit.SizeControlLeft #1 | VC Dialog Editor::Shift+Left Arrow |
Edit.SizeControlLeft #2 | Windows Forms Designer::Ctrl+Shift+Left Arrow |
Edit.SizeControlLeft #3 | Report Designer::Ctrl+Shift+Left Arrow |
Edit.SizeControlLeftGrid | Global::Shift+Left Arrow |
Edit.SizeControlRight #0 | Global::Ctrl+Shift+Right Arrow |
Edit.SizeControlRight #1 | VC Dialog Editor::Shift+Right Arrow |
Edit.SizeControlRight #2 | Windows Forms Designer::Ctrl+Shift+Right Arrow |
Edit.SizeControlRight #3 | Report Designer::Ctrl+Shift+Right Arrow |
Edit.SizeControlRightGrid | Global::Shift+Right Arrow |
Edit.SizeControlUp #0 | Global::Ctrl+Shift+Up Arrow |
Edit.SizeControlUp #1 | VC Dialog Editor::Shift+Up Arrow |
Edit.SizeControlUp #2 | Windows Forms Designer::Ctrl+Shift+Up Arrow |
Edit.SizeControlUp #3 | Report Designer::Ctrl+Shift+Up Arrow |
Edit.SizeControlUpGrid | Global::Shift+Up Arrow |
Edit.StopHidingCurrent | Text Editor::Ctrl+M, Ctrl+U |
Edit.StopOutlining #0 | Text Editor::Ctrl+M, Ctrl+P |
Edit.StopOutlining #1 | Text Editor::Ctrl+M, P |
Edit.StopSearch | Global::Alt+F3, S |
Edit.SurroundWith #0 | Global::Ctrl+K, Ctrl+S |
Edit.SurroundWith #1 | Global::Ctrl+K, S |
Edit.SwapAnchor #0 | Text Editor::Ctrl+K, Ctrl+A |
Edit.SwapAnchor #1 | Text Editor::Ctrl+E, A |
Edit.SwapAnchor #2 | Text Editor::Ctrl+E, Ctrl+A |
Edit.TabLeft #0 | Windows Forms Designer::Shift+Tab |
Edit.TabLeft #1 | Text Editor::Shift+Tab |
Edit.TabLeft #2 | Report Designer::Shift+Tab |
Edit.ToggleAllOutlining #0 | Text Editor::Ctrl+M, Ctrl+L |
Edit.ToggleAllOutlining #1 | Text Editor::Ctrl+M, L |
Edit.ToggleBookmark #0 | Text Editor::Ctrl+K, Ctrl+K |
Edit.ToggleBookmark #1 | Text Editor::Ctrl+B, T |
Edit.ToggleBookmark #2 | Text Editor::Ctrl+B, Ctrl+T |
Edit.ToggleOutliningExpansion #0 | Text Editor::Ctrl+M, Ctrl+M |
Edit.ToggleOutliningExpansion #1 | Text Editor::Ctrl+M, M |
Edit.ToggleTaskListShortcut #0 | Text Editor::Ctrl+K, Ctrl+H |
Edit.ToggleTaskListShortcut #1 | Text Editor::Ctrl+E, T |
Edit.ToggleTaskListShortcut #2 | Text Editor::Ctrl+E, Ctrl+T |
Edit.ToggleWordWrap #0 | Text Editor::Ctrl+E, Ctrl+W |
Edit.ToggleWordWrap #1 | Text Editor::Ctrl+E, W |
Edit.UncommentSelection #0 | Text Editor::Ctrl+K, Ctrl+U |
Edit.UncommentSelection #1 | Text Editor::Ctrl+E, U |
Edit.UncommentSelection #2 | Text Editor::Ctrl+E, Ctrl+U |
Edit.Undo #0 | Global::Ctrl+Z |
Edit.Undo #1 | Global::Alt+Bkspce |
Edit.UpdateJScriptIntellisense | HTML Editor Source View::Ctrl+Shift+J |
Edit.ViewBottom | Text Editor::Ctrl+PgDn |
Edit.ViewBottomExtend | Text Editor::Ctrl+Shift+PgDn |
Edit.ViewTop | Text Editor::Ctrl+PgUp |
Edit.ViewTopExtend | Text Editor::Ctrl+Shift+PgUp |
Edit.ViewWhiteSpace #0 | Text Editor::Ctrl+R, Ctrl+W |
Edit.ViewWhiteSpace #1 | Text Editor::Ctrl+E, S |
Edit.ViewWhiteSpace #2 | Text Editor::Ctrl+E, Ctrl+S |
Edit.WordDeleteToEnd | Text Editor::Ctrl+Del |
Edit.WordDeleteToStart | Text Editor::Ctrl+Bkspce |
Edit.WordNext | Text Editor::Ctrl+Right Arrow |
Edit.WordNextExtend | Text Editor::Ctrl+Shift+Right Arrow |
Edit.WordNextExtendColumn | Text Editor::Ctrl+Shift+Alt+Right Arrow |
Edit.WordPrevious | Text Editor::Ctrl+Left Arrow |
Edit.WordPreviousExtend | Text Editor::Ctrl+Shift+Left Arrow |
Edit.WordPreviousExtendColumn | Text Editor::Ctrl+Shift+Alt+Left Arrow |
Edit.WordTranspose | Text Editor::Ctrl+Shift+T |
EditorContextMenus.CodeWindow.RunSelection | Global::Ctrl+Q |
File.NewFile | Global::Ctrl+N |
File.NewProject | Global::Ctrl+Shift+N |
File.OpenFile | Global::Ctrl+O |
File.OpenProject | Global::Ctrl+Shift+O |
File.Print | Global::Ctrl+P |
File.SaveAll | Global::Ctrl+Shift+S |
File.SaveSelectedItems | Global::Ctrl+S |
Format.AlignBottoms | VC Dialog Editor::Ctrl+Shift+Down Arrow |
Format.AlignCenters | VC Dialog Editor::Shift+F9 |
Format.AlignLefts | VC Dialog Editor::Ctrl+Shift+Left Arrow |
Format.AlignMiddles | VC Dialog Editor::F9 |
Format.AlignRights | VC Dialog Editor::Ctrl+Shift+Right Arrow |
Format.AlignTops | VC Dialog Editor::Ctrl+Shift+Up Arrow |
Format.Bold | HTML Editor Design View::Ctrl+B |
Format.ButtonBottom | VC Dialog Editor::Ctrl+B |
Format.ButtonRight | VC Dialog Editor::Ctrl+R |
Format.CenterHorizontal | VC Dialog Editor::Ctrl+Shift+F9 |
Format.CenterVertical | VC Dialog Editor::Ctrl+F9 |
Format.CheckMnemonics | VC Dialog Editor::Ctrl+M |
Format.ConverttoHyperlink | HTML Editor Design View::Ctrl+L |
Format.InsertBookmark | HTML Editor Design View::Ctrl+Shift+L |
Format.Italic | HTML Editor Design View::Ctrl+I |
Format.SizetoContent | VC Dialog Editor::Shift+F7 |
Format.SpaceAcross #0 | VC Dialog Editor::Alt+Left Arrow |
Format.SpaceAcross #1 | VC Dialog Editor::Alt+Right Arrow |
Format.SpaceDown #0 | VC Dialog Editor::Alt+Down Arrow |
Format.SpaceDown #1 | VC Dialog Editor::Alt+Up Arrow |
Format.TabOrder | VC Dialog Editor::Ctrl+D |
Format.TestDialog | VC Dialog Editor::Ctrl+T |
Format.ToggleGuides | VC Dialog Editor::Ctrl+G |
Format.Underline | HTML Editor Design View::Ctrl+U |
Help.Contents #0 | Global::Ctrl+Alt+F1 |
Help.Contents #1 | Global::Ctrl+F1, C |
Help.Contents #2 | Global::Ctrl+F1, Ctrl+C |
Help.DynamicHelp #0 | Global::Ctrl+F1, D |
Help.DynamicHelp #1 | Global::Ctrl+F1, Ctrl+D |
Help.F1Help | Global::F1 |
Help.HelpFavorites #0 | Global::Ctrl+F1, F |
Help.HelpFavorites #1 | Global::Ctrl+F1, Ctrl+F |
Help.HowDoI #0 | Global::Ctrl+F1, H |
Help.HowDoI #1 | Global::Ctrl+F1, Ctrl+H |
Help.Index #0 | Global::Ctrl+Alt+F2 |
Help.Index #1 | Global::Ctrl+F1, I |
Help.Index #2 | Global::Ctrl+F1, Ctrl+I |
Help.IndexResults #0 | Global::Ctrl+F1, T |
Help.IndexResults #1 | Global::Ctrl+F1, Ctrl+T |
Help.Nexttopic | WebBrowser::Alt+Down Arrow |
Help.Previoustopic | WebBrowser::Alt+Up Arrow |
Help.Search #0 | Global::Ctrl+Alt+F3 |
Help.Search #1 | Global::Ctrl+F1, S |
Help.Search #2 | Global::Ctrl+F1, Ctrl+S |
Help.SearchResults #0 | Global::Shift+Alt+F3 |
Help.SearchResults #1 | Global::Ctrl+F1, R |
Help.SearchResults #2 | Global::Ctrl+F1, Ctrl+R |
Help.WindowHelp | Global::Shift+F1 |
Image.AirbrushTool | VC Image Editor::Ctrl+A |
Image.BrushTool | VC Image Editor::Ctrl+B |
Image.CopyandOutlineSelection | VC Image Editor::Ctrl+Shift+U |
Image.DrawOpaque | VC Image Editor::Ctrl+J |
Image.EllipseTool | VC Image Editor::Alt+P |
Image.EraseTool | VC Image Editor::Ctrl+Shift+I |
Image.FilledEllipseTool | VC Image Editor::Ctrl+Shift+Alt+P |
Image.FilledRectangleTool | VC Image Editor::Ctrl+Shift+Alt+R |
Image.FilledRoundedRectangleTool | VC Image Editor::Ctrl+Shift+Alt+W |
Image.FillTool | VC Image Editor::Ctrl+F |
Image.FlipHorizontal | VC Image Editor::Ctrl+H |
Image.FlipVertical | VC Image Editor::Shift+Alt+H |
Image.LargerBrush | VC Image Editor::Ctrl+= |
Image.LineTool | VC Image Editor::Ctrl+L |
Image.MagnificationTool | VC Image Editor::Ctrl+M |
Image.Magnify | VC Image Editor::Ctrl+Shift+M |
Image.NewImageType | VC Image Editor::Ins |
Image.NextColor #0 | VC Image Editor::Ctrl+Right Arrow |
Image.NextColor #1 | VC Image Editor::Ctrl+] |
Image.NextRightColor #0 | VC Image Editor::Ctrl+Shift+Right Arrow |
Image.NextRightColor #1 | VC Image Editor::Ctrl+Shift+] |
Image.OutlinedEllipseTool | VC Image Editor::Shift+Alt+P |
Image.OutlinedRectangleTool | VC Image Editor::Shift+Alt+R |
Image.OutlinedRoundedRectangleTool | VC Image Editor::Shift+Alt+W |
Image.PencilTool | VC Image Editor::Ctrl+I |
Image.PreviousColor #0 | VC Image Editor::Ctrl+Left Arrow |
Image.PreviousColor #1 | VC Image Editor::Ctrl+[ |
Image.PreviousRightColor #0 | VC Image Editor::Ctrl+Shift+Left Arrow |
Image.PreviousRightColor #1 | VC Image Editor::Ctrl+Shift+[ |
Image.RectangleSelectionTool | VC Image Editor::Shift+Alt+S |
Image.RectangleTool | VC Image Editor::Alt+R |
Image.Rotate90Degrees | VC Image Editor::Ctrl+Shift+H |
Image.RoundedRectangleTool | VC Image Editor::Alt+W |
Image.ShowGrid | VC Image Editor::Ctrl+Alt+S |
Image.ShowTileGrid | VC Image Editor::Ctrl+Shift+Alt+S |
Image.SmallBrush | VC Image Editor::Ctrl+. |
Image.SmallerBrush | VC Image Editor::Ctrl+- |
Image.TextTool | VC Image Editor::Ctrl+T |
Image.UseSelectionasBrush | VC Image Editor::Ctrl+U |
Image.ZoomIn #0 | VC Image Editor::Ctrl+Up Arrow |
Image.ZoomIn #1 | VC Image Editor::Ctrl+Shift+. |
Image.ZoomOut #0 | VC Image Editor::Ctrl+Down Arrow |
Image.ZoomOut #1 | VC Image Editor::Ctrl+Shift+, |
OtherContextMenus.ORDesignerContextMenu.HideMethodsPane | VisualStudio::Ctrl+1 |
Project.AddClass | Global::Shift+Alt+C |
Project.AddContentPage | HTML Editor Design View::Ctrl+M, Ctrl+C |
Project.AddExistingItem | Global::Shift+Alt+A |
Project.AddNewItem | Global::Ctrl+Shift+A |
Project.Override | Global::Ctrl+Alt+Ins |
QueryDesigner.CancelRetrievingData #0 | Query Designer::Ctrl+T |
QueryDesigner.CancelRetrievingData #1 | View Designer::Ctrl+T |
QueryDesigner.Criteria #0 | Query Designer::Ctrl+2 |
QueryDesigner.Criteria #1 | View Designer::Ctrl+2 |
QueryDesigner.Diagram #0 | Query Designer::Ctrl+1 |
QueryDesigner.Diagram #1 | View Designer::Ctrl+1 |
QueryDesigner.ExecuteSQL #0 | Query Designer::Ctrl+R |
QueryDesigner.ExecuteSQL #1 | View Designer::Ctrl+R |
QueryDesigner.GotoRow #0 | Query Designer::Ctrl+G |
QueryDesigner.GotoRow #1 | View Designer::Ctrl+G |
QueryDesigner.JoinMode #0 | Query Designer::Ctrl+Shift+J |
QueryDesigner.JoinMode #1 | View Designer::Ctrl+Shift+J |
QueryDesigner.Results #0 | Query Designer::Ctrl+4 |
QueryDesigner.Results #1 | View Designer::Ctrl+4 |
QueryDesigner.SQL #0 | Query Designer::Ctrl+3 |
QueryDesigner.SQL #1 | View Designer::Ctrl+3 |
Refactor.EncapsulateField #0 | Global::Ctrl+R, Ctrl+E |
Refactor.EncapsulateField #1 | Global::Ctrl+R, E |
Refactor.ExtractInterface #0 | Global::Ctrl+R, Ctrl+I |
Refactor.ExtractInterface #1 | Global::Ctrl+R, I |
Refactor.ExtractMethod #0 | Global::Ctrl+R, Ctrl+M |
Refactor.ExtractMethod #1 | Global::Ctrl+R, M |
Refactor.PromoteLocalVariable #0 | Global::Ctrl+R, Ctrl+P |
Refactor.PromoteLocalVariable #1 | Global::Ctrl+R, P |
Refactor.RemoveParameters #0 | Global::Ctrl+R, Ctrl+V |
Refactor.RemoveParameters #1 | Global::Ctrl+R, V |
Refactor.Rename #0 | Global::Ctrl+R, Ctrl+R |
Refactor.Rename #1 | Global::Ctrl+R, R |
Refactor.Rename #2 | Text Editor::F2 |
Refactor.ReorderParameters #0 | Global::Ctrl+R, Ctrl+O |
Refactor.ReorderParameters #1 | Global::Ctrl+R, O |
Resources.Audio | Managed Resources Editor::Ctrl+4 |
Resources.Files | Managed Resources Editor::Ctrl+5 |
Resources.Icons | Managed Resources Editor::Ctrl+3 |
Resources.Images | Managed Resources Editor::Ctrl+2 |
Resources.Other | Managed Resources Editor::Ctrl+6 |
Resources.Strings | Managed Resources Editor::Ctrl+1 |
Table.ColumntotheLeft | HTML Editor Design View::Ctrl+Alt+Left Arrow |
Table.ColumntotheRight | HTML Editor Design View::Ctrl+Alt+Right Arrow |
Table.RowAbove | HTML Editor Design View::Ctrl+Alt+Up Arrow |
Table.RowBelow | HTML Editor Design View::Ctrl+Alt+Down Arrow |
Test.DebugAllTestsInSolution | Global::Ctrl+R, Ctrl+A |
Test.DebugTestsInClass | Global::Ctrl+R, Ctrl+C |
Test.DebugTestsInCurrentContext | Global::Ctrl+R, Ctrl+T |
Test.DebugTestsInNamespace | Global::Ctrl+R, Ctrl+N |
Test.RunAllTestsInSolution | Global::Ctrl+R, A |
Test.RunTestsInClass | Global::Ctrl+R, C |
Test.RunTestsInCurrentContext | Global::Ctrl+R, T |
Test.RunTestsInNamespace | Global::Ctrl+R, N |
Test.TestResults.RunCheckedTests | Global::Ctrl+R, F |
TestResults.DebugAllTestsInTestResults | Global::Ctrl+R, Ctrl+D |
TestResults.DebugCheckedTests | Global::Ctrl+R, Ctrl+F |
TestResults.RunAllTestsInTestResults | Global::Ctrl+R, D |
Tools.AttachtoProcess | Global::Ctrl+Alt+P |
Tools.CodeSnippetsManager | Global::Ctrl+K, Ctrl+B |
Tools.MacrosIDE | Global::Alt+F11 |
Tools.RecordTemporaryMacro | Global::Ctrl+Shift+R |
Tools.RunTemporaryMacro | Global::Ctrl+Shift+P |
View.ASP.NETNonvisualControls | HTML Editor Design View::Ctrl+Shift+N |
View.AutoCloseTagOverride | HTML Editor Source View::Ctrl+Shift+. |
View.Backward | Global::Alt+Left Arrow |
View.BookmarkWindow #0 | Global::Ctrl+K, Ctrl+W |
View.BookmarkWindow #1 | Global::Ctrl+W, B |
View.BookmarkWindow #2 | Global::Ctrl+W, Ctrl+B |
View.BrowseNext | Global::Ctrl+Shift+1 |
View.BrowsePrevious | Global::Ctrl+Shift+2 |
View.ClassView #0 | Global::Ctrl+Shift+C |
View.ClassView #1 | Global::Ctrl+W, C |
View.ClassView #2 | Global::Ctrl+W, Ctrl+C |
View.ClassViewGoToSearchCombo | Global::Ctrl+K, Ctrl+V |
View.CodeDefinitionWindow #0 | Global::Ctrl+\, Ctrl+D |
View.CodeDefinitionWindow #1 | Global::Ctrl+\, D |
View.CodeDefinitionWindow #2 | Global::Ctrl+W, D |
View.CodeDefinitionWindow #3 | Global::Ctrl+W, Ctrl+D |
View.CommandWindow #0 | Global::Ctrl+Alt+A |
View.CommandWindow #1 | Global::Ctrl+W, A |
View.CommandWindow #2 | Global::Ctrl+W, Ctrl+A |
View.Datasets | Report Designer::Ctrl+Alt+D |
View.DocumentOutline #0 | Global::Ctrl+Alt+T |
View.DocumentOutline #1 | Global::Ctrl+W, U |
View.DocumentOutline #2 | Global::Ctrl+W, Ctrl+U |
View.EditLabel | Global::F2 |
View.EditMaster | HTML Editor Design View::Ctrl+M, Ctrl+M |
View.ErrorList #0 | Global::Ctrl+\, Ctrl+E |
View.ErrorList #1 | Global::Ctrl+\, E |
View.ErrorList #2 | Global::Ctrl+W, E |
View.ErrorList #3 | Global::Ctrl+W, Ctrl+E |
View.FindSymbolResults #0 | Global::Ctrl+Alt+F12 |
View.FindSymbolResults #1 | Global::Ctrl+W, Q |
View.FindSymbolResults #2 | Global::Ctrl+W, Ctrl+Q |
View.Forward | Global::Alt+Right Arrow |
View.ForwardBrowseContext | Global::Ctrl+Shift+7 |
View.FullScreen | Global::Shift+Alt+Enter |
View.MacroExplorer | Global::Alt+F8 |
View.NavigateBackward | Global::Ctrl+- |
View.NavigateForward | Global::Ctrl+Shift+- |
View.NextError | Global::Ctrl+Shift+F12 |
View.NextView #0 | HTML Editor Design View::Ctrl+PgDn |
View.NextView #1 | HTML Editor Source View::Ctrl+PgDn |
View.ObjectBrowser #0 | Global::Ctrl+Alt+J |
View.ObjectBrowser #1 | Global::Ctrl+W, J |
View.ObjectBrowser #2 | Global::Ctrl+W, Ctrl+J |
View.Output #0 | Global::Ctrl+Alt+O |
View.Output #1 | Global::Ctrl+W, O |
View.Output #2 | Global::Ctrl+W, Ctrl+O |
View.PendingCheckins #0 | Global::Ctrl+W, G |
View.PendingCheckins #1 | Global::Ctrl+W, Ctrl+G |
View.PopBrowseContext | Global::Ctrl+Shift+8 |
View.PropertiesWindow #0 | Global::F4 |
View.PropertiesWindow #1 | Global::Ctrl+W, P |
View.PropertiesWindow #2 | Global::Ctrl+W, Ctrl+P |
View.PropertyPages | Global::Shift+F4 |
View.ResourceView #0 | Global::Ctrl+Shift+E |
View.ResourceView #1 | Global::Ctrl+W, R |
View.ResourceView #2 | Global::Ctrl+W, Ctrl+R |
View.ServerExplorer #0 | Global::Ctrl+Alt+S |
View.ServerExplorer #1 | Global::Ctrl+W, L |
View.ServerExplorer #2 | Global::Ctrl+W, Ctrl+L |
View.ShowSmartTag #0 | Global::Shift+Alt+F10 |
View.ShowSmartTag #1 | HTML Editor Design View::Shift+Alt+F10 |
View.ShowSmartTag #2 | Global::Ctrl+. |
View.SolutionExplorer #0 | Global::Ctrl+Alt+L |
View.SolutionExplorer #1 | Global::Ctrl+W, S |
View.SolutionExplorer #2 | Global::Ctrl+W, Ctrl+S |
View.SynchronizeViews | HTML Editor Source View::Ctrl+Shift+Y |
View.TaskList #0 | Global::Ctrl+\, Ctrl+T |
View.TaskList #1 | Global::Ctrl+\, T |
View.TaskList #2 | Global::Ctrl+W, T |
View.TaskList #3 | Global::Ctrl+W, Ctrl+T |
View.Toolbox #0 | Global::Ctrl+Alt+X |
View.Toolbox #1 | Global::Ctrl+W, X |
View.Toolbox #2 | Global::Ctrl+W, Ctrl+X |
View.ViewCode #0 | Settings Designer::F7 |
View.ViewCode #1 | Class Diagram::Enter |
View.ViewCode #2 | Global::F7 |
View.ViewDesigner #0 | HTML Editor Source View::Shift+F7 |
View.ViewDesigner #1 | Global::Shift+F7 |
View.WebBrowser #0 | Global::Ctrl+Alt+R |
View.WebBrowser #1 | Global::Ctrl+W, W |
View.WebBrowser #2 | Global::Ctrl+W, Ctrl+W |
VMDebugger.Connect.AttachDebug | Global::Ctrl+Shift+Alt+F6 |
VMDebugger.Connect.CancelDebug | Global::Shift+F6 |
VMDebugger.Connect.Configure | Global::Ctrl+Alt+C |
VMDebugger.Connect.Record | Global::Ctrl+F8 |
VMDebugger.Connect.Replay | Global::Ctrl+Alt+F8 |
VMDebugger.Connect.ReplayAttach | Global::Ctrl+Shift+Alt+F8 |
VMDebugger.Connect.RestartDebug | Global::Ctrl+Shift+F6 |
VMDebugger.Connect.ReverseContinue | Global::Shift+F8 |
VMDebugger.Connect.ReverseRunToCursor | Global::Ctrl+Shift+F8 |
VMDebugger.Connect.StartDebug | Global::Ctrl+Alt+F6 |
VMDebugger.Connect.StartNoDebug | Global::Ctrl+F6 |
VMDebugger.Connect.TakeSnapshot | Global::Ctrl+Shift+F10 |
Window.ActivateDocumentWindow | Global::Esc |
Window.CloseDocumentWindow | Global::Ctrl+F4 |
Window.CloseToolWindow | Global::Shift+Esc |
Window.MovetoNavigationBar | Global::Ctrl+F2 |
Window.NextDocumentWindowNav | Global::Ctrl+Tab |
Window.NextPane | Global::Alt+F6 |
Window.NextTab | Global::Ctrl+PgDn |
Window.NextToolWindowNav | Global::Alt+F7 |
Window.PreviousDocumentWindowNav | Global::Ctrl+Shift+Tab |
Window.PreviousPane | Global::Shift+Alt+F6 |
Window.PreviousTab #0 | Global::Ctrl+PgUp |
Window.PreviousTab #1 | HTML Editor Design View::Ctrl+PgUp |
Window.PreviousTab #2 | HTML Editor Source View::Ctrl+PgUp |
Window.PreviousToolWindowNav | Global::Shift+Alt+F7 |
Window.ShowEzMDIFileList | Global::Ctrl+Alt+Down Arrow |
General
Shortcut | Description |
Ctrl-X or Shift-Delete | Cuts the currently selected item to the clipboard |
Ctrl-C or Ctrl-Insert | Copies the currently selected item to the clipboard |
Ctrl-V or Shift-Insert | Pastes the item in the clipboard at the cursor |
Ctrl-Z or Alt-Backspace | Undo previous editing action |
Ctrl-Y or Ctrl-Shift-Z | Redo the previous undo action |
Ctrl-Shift-V or Ctrl-Shift-Insert | Pastes an item from the clipboard ring tab of the Toolbox at the cursor in the file and automatically selects the pasted item. Cycle through the items on the clipboard by pressing the shortcut keys repeatedly |
Esc | Closes a menu or dialog, cancels an operation in progress, or places focus in the current document window |
Ctrl-S | Saves the selected files in the current project (usually the file that is being edited) |
Ctrl-Shift-S | Saves all documents and projects |
Ctrl-P | Displays the Print dialog |
F7 | Switches from the design view to the code view in the editor |
Shift-F7 | Switches from the code view to the design view in the editor |
F8 | Moves the cursor to the next item, for example in the TaskList window or Find Results window |
Shift-F8 | Moves the cursor to the previous item, for example in the TaskList window or Find Results window |
Shift-F12 | Finds a reference to the selected item or the item under the cursor |
Ctrl-Shift-G | Opens the file whose name is under the cursor or is currently selected |
Ctrl-/ | Switches focus to the Find/Command box on the Standard toolbar |
Ctrl-Shift-F12 | Moves to the next task in the TaskList window |
Ctrl-Shift-8 | Moves backward in the browse history. Available in the object browser or Class View window |
Alt-Left Arrow | Go back in the web browser history |
Alt-Right Arrow | Go forward in the web browser history |
Text navigation
Shortcut | Description |
Left Arrow | Moves the cursor one character to the left |
Right Arrow | Moves the cursor one character to the right |
Down Arrow | Moves the cursor down one line |
Up Arrow | Moves the cursor up one line |
Page Down | Scrolls down one screen in the editor window |
Page Up | Scrolls up one screen in the editor window |
End | Moves the cursor to the end of the current line |
Home | Moves the cursor to the beginning of the line. If you press Home when the cursor is already at the start of the line, it will toggle the cursor between the first non-whitespace character and the real start of the line |
Ctrl-End | Moves the cursor to the end of the document |
Ctrl-Home | Moves the cursor to the start of the document |
Ctrl-G | Displays the Go to Line dialog. If the debugger is running, the dialog also lets you specify addresses or function names to go to |
Ctrl-] | Moves the cursor to the matching brace in the document. If the cursor is on an opening brace, this will move to the corresponding closing brace and vice versa |
Ctrl-K, Ctrl-N | Moves to the next bookmark in the document |
Ctrl-K, Ctrl-P | Moves to the previous bookmark |
Ctrl-K, Ctrl-I | Displays Quick Info, based on the current language |
Ctrl-Down Arrow | Scrolls text down one line but does not move the cursor. This is useful for scrolling more text into view without losing your place. Available only in text editors |
Ctrl-Up Arrow | Scrolls text up one line but does not move the cursor. Available only in text editors |
Ctrl-Right Arrow | Moves the cursor one word to the right |
Ctrl-Left Arrow | Moves the cursor one word to the left |
Ctrl-Shift-1 | Navigates to the next definition, declaration, or reference of an item. Available in the object browser and Class View window. Also available in source editing windows if you have already used the Edit.GoToReference (Shift-F12) shortcut |
Ctrl-Shift-2 | Navigates to the previous definition, declaration, or reference of an item |
ext manipulation
Shortcut | Description |
Enter | Inserts a new line |
Delete | Deletes one character to the right of the cursor |
Insert | Toggles between insert and overtype insertion modes |
Tab | Indents the currently selected line or lines by one tab stop. If there is no selection, this inserts a tab stop |
Shift-Tab | Moves current line or selected lines one tab stop to the left |
Backspace or Shift-Backspace | Deletes one character to the left of the cursor |
Ctrl-K, Ctrl-C | Marks the current line or selected lines of code as a comment, using the correct comment syntax for the programming language |
Ctrl-K, Ctrl-U | Removes the comment syntax from the current line or currently selected lines of code |
Ctrl-T or Shift-Enter | Swaps the characters on either side of the cursor. (For example, AC|BD becomes AB|CD.) Available only in text editors |
Ctrl-K, Ctrl-L | Removes all unnamed bookmarks in the current document |
Ctrl-M, Ctrl-O | Automatically determines logical boundaries for creating regions in code, such as procedures, and then hides them. This collapses all such regions in the current document |
Alt-Right Arrow or Ctrl-Spacebar | Displays statement completion based on the current language or autocompletes word if existing text unambiguously identifies a single symbol |
Ctrl-K, Ctrl-\ | Removes horizontal whitespace in the selection or deletes whitespace adjacent to the cursor if there is no selection |
Ctrl-K, Ctrl-F | Applies the indenting and space formatting for the language as specified on the Formatting pane of the language in the Text Editor section of the Options dialog to the selected text. |
Ctrl-L | Cuts all selected lines or the current line if nothing has been selected to the clipboard |
Ctrl-Shift-L | Deletes all selected lines or the current line if no selection has been made |
Ctrl-Enter | Inserts a blank line above the cursor |
Ctrl-Shift-Enter | Inserts a blank line below the cursor |
Shift-Alt-T | Moves the line containing the cursor below the next line |
Ctrl-J | Lists members for statement completion when editing code |
Ctrl-U | Changes the selected text to lowercase characters |
Ctrl-Shift-U | Changes the selected text to uppercase characters |
Ctrl-Shift-Spacebar | Displays a tooltip that contains information for the current parameter, based on the current language |
Ctrl-M, Ctrl-U | Removes the outlining information for the currently selected region |
Ctrl-M, Ctrl-P | Removes all outlining information from the entire document |
Ctrl-R, Ctrl-P | Swaps the anchor and endpoint of the current selection |
Ctrl-M, Ctrl-L | Toggles all previously marked hidden text sections between hidden and display states |
Ctrl-K, Ctrl-K | Sets or removes a bookmark at the current line |
Ctrl-M, Ctrl-M | Toggles the currently selected hidden text section or the section containing the cursor if there is no selection between the hidden and display states |
Ctrl-K, Ctrl-H | Sets or removes a shortcut in the tasklist to the current line |
Ctrl-R, Ctrl-R | Enables or disables word wrap in an editor |
Ctrl-R, Ctrl-W | Shows or hides spaces and tab marks |
Ctrl-Delete | Deletes the word to the right of the cursor |
Ctrl-Backspace | Deletes the word to the left of the cursor |
Ctrl-Shift-T | Transposes the two words that follow the cursor. (For example, |End Sub would be changed to read Sub End|.) |
Ctrl-.[dot] | Display options on smarttag menu. Very useful for showing using/Imports options. |
Text selection
Shortcut | Description |
Shift-Left Arrow | Moves the cursor to the left one character, extending the selection |
Shift-Alt-Left Arrow | Moves the cursor to the left one character, extending the column selection |
Shift-Right Arrow | Moves the cursor to the right one character, extending the selection |
Shift-Alt-Right Arrow | Moves the cursor to the right one character, extending the column selection |
Ctrl-Shift-End | Moves the cursor to the end of the document, extending the selection |
Ctrl-Shift-Home | Moves the cursor to the start of the document, extending the selection |
Ctrl-Shift-] | Moves the cursor to the next brace, extending the selection |
Shift-Down Arrow | Moves the cursor down one line, extending the selection |
Shift-Alt-Down Arrow | Moves the cursor down one line, extending the column selection |
Shift-End | Moves the cursor to the end of the current line, extending the selection |
Shift-Alt-End | Moves the cursor to the end of the line, extending the column selection |
Shift-Home | Moves the cursor to the start of the line, extending the selection |
Shift-Alt-Home | Moves the cursor to the start of the line, extending the column selection |
Shift-Up Arrow | Moves the cursor up one line, extending the selection |
Shift-Alt-Up Arrow | Moves the cursor up one line, extending the column selection |
Shift-Page Down | Extends selection down one page |
Shift-Page Up | Extends selection up one page |
Ctrl-A | Selects everything in the current document |
Ctrl-W | Selects the word containing the cursor or the word to the right of the cursor |
Ctrl-= | Selects from the current location in the editor back to the previous location in the navigation history |
Ctrl-Shift-Page Down | Moves the cursor to the last line in view, extending the selection |
Ctrl-Shift-Page Up | Moves the cursor to the top of the current window, extending the selection |
Ctrl-Shift-Alt-Right Arrow | Moves the cursor to the right one word, extending the column selection |
Ctrl-Shift-Left Arrow | Moves the cursor one word to the left, extending the selection |
Ctrl-Shift-Alt-Left Arrow | Moves the cursor to the left one word, extending the column selection |
Project related
Shortcut | Description |
Ctrl-Shift-B | Builds the solution |
Ctrl-N | Displays the New File dialog. Note: files created this way are not associated with a project. Use Ctrl-Shift-A to add a new file in a project |
Ctrl-Shift-N | Displays the New Project dialog |
Ctrl-O | Displays the Open File dialog |
Ctrl-Shift-O | Displays the Open Project dialog |
Shift-Alt-A | Displays the Add Existing Item dialog |
Ctrl-Shift-A | Displays the Add New Item dialog |
Ctrl-Alt-Insert | Allows you to override base class methods in a derived class when an overridable method is highlighted in the Class View pane |
Window manipulation
Shortcut | Description |
Shift-Alt-Enter | Toggles full screen mode |
Ctrl-+ | Goes back to the previous location in the navigation history. (For example, if you press Ctrl-Home to go to the start of a document, this shortcut will take the cursor back to wherever it was before you pressed Ctrl-Home.) |
Ctrl-Shift-+ | Moves forward in the navigation history. This is effectively an undo for the View.NavigateBackward operation |
Ctrl-F4 | Closes the current MDI child window |
Shift-Esc | Closes the current tool window |
Ctrl-F2 | Moves the cursor to the navigation bar at the top of a code view |
Ctrl-Tab | Cycles through the MDI child windows one window at a time |
Ctrl-F6, Ctrl-Shift-Tab | Moves to the previous MDI child window |
Alt-F6, Ctrl-Shift-F6 | Moves to the next tool window |
Shift-Alt-F6 | Moves to the previously selected window |
F6 | Moves to the next pane of a split pane view of a single document |
Shift-F6 | Moves to the previous pane of a document in split pane view |
Ctrl-Pagedown | Moves to the next tab in the document or window (e.g., you can use this to switch the HTML editor from its design view to its HTML view |
Ctrl-PageUp | Moves to the previous tab in the document or window |
Control editor (designer)
Shortcut | Description |
Ctrl-Down Arrow | Moves the selected control down in increments of one on the design surface |
Down Arrow | Moves the selected control down to the next grid position on the design surface |
Ctrl-Left Arrow | Moves the control to the left in increments of one on the design surface |
Left Arrow | Moves the control to the left to the next grid position on the design surface |
Ctrl-Right Arrow | Moves the control to the right in increments of one on the design surface |
Right Arrow | Moves the control to the right into the next grid position on the design surface |
Ctrl-Up Arrow | Moves the control up in increments of one on the design surface |
Up Arrow | Moves the control up into the next grid position on the design surface |
Tab | Moves to the next control in the tab order |
Shift-Tab | Moves to the previous control in the tab order |
Ctrl-Shift-Down Arrow | Increases the height of the control in increments of one on the design surface |
Shift-Down Arrow | Increases the height of the control to the next grid position on the design surface |
Ctrl-Shift-Left Arrow | Reduces the width of the control in increments of one on the design surface |
Shift-Left Arrow | Reduces the width of the control to the next grid position on the design surface |
Ctrl-Shift-Right Arrow | Increases the width of the control in increments of one on the design surface |
Shift-Left Arrow | Increases the width of the control to the next grid position on the design surface |
Ctrl-Shift-Up Arrow | Decreases the height of the control in increments of one on the design surface |
Shift-Up Arrow | Decreases the height of the control to the next grid position on the design surface |
Search and replace
Shortcut | Description |
Ctrl-F | Displays the Find dialog |
Ctrl-Shift-F | Displays the Find in Files dialog |
F3 | Finds the next occurrence of the previous search text |
Ctrl-F3 | Finds the next occurrence of the currently selected text or the word under the cursor if there is no selection |
Shift-F3 | Finds the previous occurrence of the search text |
Ctrl-Shift-F3 | Finds the previous occurrence of the currently selected text or the word under the cursor |
Ctrl-D | Places the cursor in the Find/Command line on the Standard toolbar |
Alt-F3, H | Selects or clears the Search Hidden Text option for the Find dialog |
Ctrl-I | Starts an incremental search—after pressing Ctrl-I, you can type in text, and for each letter you type, VS.NET will find the first occurrence of the sequence of letters you have typed so far. This is a very convenient facility, as it lets you find text by typing in exactly as many characters as are required to locate the text and no more. If you press Ctrl-I a second time without typing any characters, it recalls the previous pattern. If you press it a third time or you press it when an incremental search has already found a match, VS.NET searches for the next occurrence. |
Alt-F3, C | Selects or clears the Match Case option for Find and Replace operations |
Alt-F3, R | Selects or clears the Regular Expression option so that special characters can be used in Find and Replace operations |
Ctrl-H | Displays the Replace dialog |
Ctrl-Shift-H | Displays the Replace in Files dialog |
Ctrl-Shift-I | Performs an incremental search in reverse direction |
Alt-F3, S | Halts the current Find in Files operation |
Alt-F3, B | Selects or clears the Search Up option for Find and Replace operations |
Alt-F3, W | Selects or clears the Match Whole Word option for Find and Replace operations |
Alt-F3, P | Selects or clears the Wildcard option for Find and Replace operations |
Help
Shortcut | Description |
Ctrl-Alt-F1 | Displays the Contents window for the documentation |
Ctrl-F1 | Displays the Dynamic Help window, which displays different topics depending on what items currently have focus. If the focus is in a source window, the Dynamic Help window will display help topics that are relevant to the text under the cursor |
F1 | Displays a topic from Help that corresponds to the part of the user interface that currently has the focus. If the focus is in a source window, Help will try to display a topic relevant to the text under the cursor |
Ctrl-Alt-F2 | Displays the Help Index window |
Shift-Alt-F2 | Displays the Index Results window, which lists the topics that contain the keyword selected in the Index window |
Alt-Down Arrow | Displays the next topic in the table of contents. Available only in the Help browser window |
Alt-Up Arrow | Displays the previous topic in the table of contents. Available only in the Help browser window |
Ctrl-Alt-F3 | Displays the Search window, which allows you to search for words or phrases in the documentation |
Shift-Alt-F3 | Displays the Search Results window, which displays a list of topics that contain the string searched for from the Search window. |
Shift-F1 | Displays a topic from Help that corresponds to the user interface item that has the focus |
Debugging
Shortcut | Description |
Ctrl-Alt-V, A | Displays the Auto window to view the values of variables currently in the scope of the current line of execution within the current procedure |
Ctrl-Alt-Break | Temporarily stops execution of all processes in a debugging session. Available only in run mode |
Ctrl-Alt-B | Displays the Breakpoints dialog, where you can add and modify breakpoints |
Ctrl-Alt-C | Displays the Call Stack window to display a list of all active procedures or stack frames for the current thread of execution. Available only in break mode |
Ctrl-Shift-F9 | Clears all of the breakpoints in the project |
Ctrl-Alt-D | Displays the Disassembly window |
Ctrl-F9 | Enables or disables the breakpoint on the current line of code. The line must already have a breakpoint for this to work |
Ctrl-Alt-E | Displays the Exceptions dialog |
Ctrl-Alt-I | Displays the Immediate window, where you can evaluate expressions and execute individual commands |
Ctrl-Alt-V, L | Displays the Locals window to view the variables and their values for the currently selected procedure in the stack frame |
Ctrl-Alt-M, 1 | Displays the Memory 1 window to view memory in the process being debugged. This is particularly useful when you do not have debugging symbols available for the code you are looking at. It is also helpful for looking at large buffers, strings, and other data that does not display clearly in the Watch or Variables window |
Ctrl-Alt-M, 2 | Displays the Memory 2 window |
Ctrl-Alt-M, 3 | Displays the Memory 3 window |
Ctrl-Alt-M, 4 | Displays the Memory 4 window |
Ctrl-Alt-U | Displays the Modules window, which allows you to view the .dll or .exe files loaded by the program. In multiprocess debugging, you can right-click and select Show Modules for all programs |
Ctrl-B | Opens the New Breakpoint dialog |
Ctrl-Alt-Q | Displays the Quick Watch dialog with the current value of the selected expression. Available only in break mode. Use this command to check the current value of a variable, property, or other expression for which you have not defined a watch expression |
Ctrl-Alt-G | Displays the Registers window, which displays CPU register contents |
Ctrl-Shift-F5 | Terminates the current debugging session, rebuilds if necessary, and then starts a new debugging session. Available in break and run modes |
Ctrl-Alt-N | Displays the Running Documents window that displays the set of HTML documents that you are in the process of debugging. Available in break and run modes |
Ctrl-F10 | Starts or resumes execution of your code and then halts execution when it reaches the selected statement. This starts the debugger if it is not already running |
Ctrl-Shift-F10 | Sets the execution point to the line of code you choose |
Alt-NUM * | Highlights the next statement to be executed |
F5 | If not currently debugging, this runs the startup project or projects and attaches the debugger. If in break mode, this allows execution to continue (i.e., it returns to run mode). |
Ctrl-F5 | Runs the code without invoking the debugger. For console applications, this also arranges for the console window to stay open with a "Press any key to continue" prompt when the program finishes |
F11 | Executes code one statement at a time, tracing execution into function calls |
Shift-F11 | Executes the remaining lines of a function in which the current execution point lies |
F10 | Executes the next line of code but does not step into any function calls |
Shift-F5 | Available in break and run modes, this terminates the debugging session |
Ctrl-Alt-V, T | Displays the This window, which allows you to view the data members of the object associated with the current method |
Ctrl-Alt-H | Displays the Threads window to view all of the threads for the current process |
F9 | Sets or removes a breakpoint at the current line |
Ctrl-F11 | Displays the disassembly information for the current source file. Available only in break mode |
Ctrl-Alt-W, 1 | Displays the Watch 1 window to view the values of variables or watch expressions |
Ctrl-Alt-W, 2 | Displays the Watch 2 window |
Ctrl-Alt-W, 3 | Displays the Watch 3 window |
Ctrl-Alt-W, 4 | Displays the Watch 4 window |
Ctrl-Alt-P | Displays the Processes dialog, which allows you to attach or detach the debugger to one or more running processes |
Object browser
Shortcut | Description |
Alt-F12 | Displays the Find Symbol dialog |
Ctrl-F12 | Displays the declaration of the selected symbol in the code |
F12 | Displays the definition for the selected symbol in code |
Ctrl-Alt-F12 | Displays the Find Symbol Results window |
Ctrl-Alt-J | Displays the Object Browser to view the classes, properties, methods, events, and constants defined either in your project or by components and type libraries referenced by your project |
Alt-+ | Moves back to the previously selected object in the selection history of the object browser |
Shift-Alt-+ | Moves forward to the next object in the selection history of the object browser |
Tool window
Shortcut | Description |
Ctrl-Shift-M | Toggles the Command window into or out of a mode allowing text within the window to be selected |
Ctrl-Shift-C | Displays the Class View window |
Ctrl-Alt-A | Displays the Command window, which allows you to type commands that manipulate the IDE |
Ctrl-Alt-T | Displays the Document Outline window to view the flat or hierarchical outline of the current document |
Ctrl-Alt-F | Displays the Favorites window, which lists shortcuts to web pages |
Ctrl-Alt-O | Displays the Output window to view status messages at runtime |
F4 | Displays the Properties window, which lists the design-time properties and events for the currently selected item |
Shift-F4 | Displays the property pages for the item currently selected. (For example, use this to show a project's settings.) |
Ctrl-Shift-E | Displays the Resource View window |
Ctrl-Alt-S | Displays the Server Explorer window, which allows you to view and manipulate database servers, event logs, message queues, web services, and many other operating system services |
Ctrl-Alt-R | Displays the web browser window, which allows you to view pages on the Internet |
Ctrl-Alt-L | Displays the Solution Explorer, which lists the projects and files in the current solution |
Ctrl-Alt-K | Displays the TaskList window, which displays tasks, comments, shortcuts, warnings, and error messages |
Ctrl-Alt-X | Displays the Toolbox, which contains controls and other items that can be dragged into editor and designer windows |
Html editor (Design View)
Shortcut | Description |
Ctrl-B | Toggles the selected text between bold and normal |
Ctrl-Shift-T | Decreases the selected paragraph by one indent unit |
Ctrl-T | Indents the selected paragraph by one indent unit |
Ctrl-I | Toggles the selected text between italic and normal |
Ctrl-Shift-K | Prevents an absolutely positioned element from being inadvertently moved. If the element is already locked, this unlocks it |
Ctrl-G | Toggles the grid |
Ctrl-Shift-G | Specifies that elements be aligned using an invisible grid. You can set grid spacing on the Design pane of HTML designer options in the Options dialog, and the grid will be changed the next time you open a document |
Ctrl-U | Toggles the selected text between underlined and normal |
Ctrl-Shift-L | Displays the Bookmark dialog |
Ctrl-J | Inserts <div></div> in the current HTML document |
Ctrl-L | When text is selected, displays the Hyperlink dialog |
Ctrl-Shift-W | Displays the Insert Image dialog |
Ctrl-Alt-Up Arrow | Adds one row above the current row in the table |
Ctrl-Alt-Down Arrow | Adds one row below the current row in the table |
Ctrl-Alt-Left Arrow | Adds one column to the left of the current column in the table |
Ctrl-Alt-Right Arrow | Adds one column to the right of the current column in the table |
Ctrl-Shift-Q | Toggles display of marker icons for HTML elements that do not have a visual representation, such as comments, scripts, and anchors for absolutely positioned elements |
Ctrl-Page Down | Switches from design view to HTML view and vice versa |
Ctrl-Q | Displays a 1-pixel border around HTML elements that support a BORDER attribute and have it set to zero, such as tables, table cells, and divisions |
Macro
Shortcut | Description |
Alt-F8 | Displays the Macro Explorer window, which lists all available macros |
Alt-F11 | Launches the macros IDE |
Ctrl-Shift-R | Places the environment in macro record mode or completes recording if already in record mode |
Ctrl-Shift-P | Plays back a recorded macro |
Pre-defined Keyboard Shortcuts
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) |
The shortcuts in this section work in designers. Editor shortcuts may also work in designers that include text, for example, the Report designer.
These shortcuts work in designers, 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+. |
These shortcuts only work 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 inDesign view. | CTRL+L |
Format.InsertBookmark | Displays the Bookmark dialog box. Available only inDesign 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 inDesign view. | CTRL+M, CTRL+C |
Table.ColumntotheLeft | Adds one column to the left of the current column in the table. Available only inDesign view. | CTRL+ALT+LEFT ARROW |
Table.ColumntotheRight | Adds one column to the right of the current column in the table. Available only inDesign 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 inDesign view. | CTRL+M, CTRL+M |
View.NextView | Switches among Design view, Source view, andServer 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 inDesign view. | SHIFT+F7 |
Window.PreviousTab | Switches among Design view, Source view, andServer Code view for the current document. Available in all views. | CTRL+PAGE UP |
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 |
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 |
The shortcuts in this section work in text editors.
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 |
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 |
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) |
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+. |
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 theDataset 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 theQuery 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 theQuery and View Designer. | CTRL+3 |
SQL.TSqleditorExecuteQuery | CTRL+SHIFT+E |
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 | F6CTRL+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 |
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 |
|
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+OALT+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 |
|
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 |
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 |
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 |
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 havetransparent selected. For more information, seeChoosing 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, seeChoosing 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, seeNew <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 theGrid Settings dialog box. For more information, seeGrid Settings Dialog Box (Image Editor for Icons). | CTRL+ALT+S |
Image.ShowTileGrid | Toggles the tile grid (selects or clears the Tile grid option in theGrid Settings dialog box. For more information, seeGrid 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, seeText 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+, |
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 andStrings 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 |
These shortcuts are for performing refactoring operations. For more information, seeRefactoring (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, seeRemove 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 |
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+Zor 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 orCTRL+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 |
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 |
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 |
//z 2014-07-15 10:47:42 L.169'47538 BG57IV3@XCL T3764897990.K.F3399197987[T21,L501,R13,V293]
Visual Studio shortcut keys
You are familiar with many of Visual Studio's shortcut keys, but not all of them. Here is a handy reference that can make your .NET lifestyle easier and a lot more productive. The 'must-know' shortcut keys are highlighted. |
Select a category
|
|
|
General
Shortcut | Description |
Ctrl-X or Shift-Delete | Cuts the currently selected item to the clipboard |
Ctrl-C or Ctrl-Insert | Copies the currently selected item to the clipboard |
Ctrl-V or Shift-Insert | Pastes the item in the clipboard at the cursor |
Ctrl-Z or Alt-Backspace | Undo previous editing action |
Ctrl-Y or Ctrl-Shift-Z | Redo the previous undo action |
Ctrl-Shift-V or Ctrl-Shift-Insert | Pastes an item from the clipboard ring tab of the Toolbox at the cursor in the file and automatically selects the pasted item. Cycle through the items on the clipboard by pressing the shortcut keys repeatedly |
Esc | Closes a menu or dialog, cancels an operation in progress, or places focus in the current document window |
Ctrl-S | Saves the selected files in the current project (usually the file that is being edited) |
Ctrl-Shift-S | Saves all documents and projects |
Ctrl-P | Displays the Print dialog |
F7 | Switches from the design view to the code view in the editor |
Shift-F7 | Switches from the code view to the design view in the editor |
F8 | Moves the cursor to the next item, for example in the TaskList window or Find Results window |
Shift-F8 | Moves the cursor to the previous item, for example in the TaskList window or Find Results window |
Shift-F12 | Finds a reference to the selected item or the item under the cursor |
Ctrl-Shift-G | Opens the file whose name is under the cursor or is currently selected |
Ctrl-/ | Switches focus to the Find/Command box on the Standard toolbar |
Ctrl-Shift-F12 | Moves to the next task in the TaskList window |
Ctrl-Shift-8 | Moves backward in the browse history. Available in the object browser or Class View window |
Alt-Left Arrow | Go back in the web browser history |
Alt-Right Arrow | Go forward in the web browser history |
return to top
Text navigation
Shortcut | Description |
Left Arrow | Moves the cursor one character to the left |
Right Arrow | Moves the cursor one character to the right |
Down Arrow | Moves the cursor down one line |
Up Arrow | Moves the cursor up one line |
Page Down | Scrolls down one screen in the editor window |
Page Up | Scrolls up one screen in the editor window |
End | Moves the cursor to the end of the current line |
Home | Moves the cursor to the beginning of the line. If you press Home when the cursor is already at the start of the line, it will toggle the cursor between the first non-whitespace character and the real start of the line |
Ctrl-End | Moves the cursor to the end of the document |
Ctrl-Home | Moves the cursor to the start of the document |
Ctrl-G | Displays the Go to Line dialog. If the debugger is running, the dialog also lets you specify addresses or function names to go to |
Ctrl-] | Moves the cursor to the matching brace in the document. If the cursor is on an opening brace, this will move to the corresponding closing brace and vice versa |
Ctrl-K, Ctrl-N | Moves to the next bookmark in the document |
Ctrl-K, Ctrl-P | Moves to the previous bookmark |
Ctrl-K, Ctrl-I | Displays Quick Info, based on the current language |
Ctrl-Down Arrow | Scrolls text down one line but does not move the cursor. This is useful for scrolling more text into view without losing your place. Available only in text editors |
Ctrl-Up Arrow | Scrolls text up one line but does not move the cursor. Available only in text editors |
Ctrl-Right Arrow | Moves the cursor one word to the right |
Ctrl-Left Arrow | Moves the cursor one word to the left |
Ctrl-Shift-1 | Navigates to the next definition, declaration, or reference of an item. Available in the object browser and Class View window. Also available in source editing windows if you have already used the Edit.GoToReference (Shift-F12) shortcut |
Ctrl-Shift-2 | Navigates to the previous definition, declaration, or reference of an item |
return to top
Text manipulation
Shortcut | Description |
Enter | Inserts a new line |
Delete | Deletes one character to the right of the cursor |
Insert | Toggles between insert and overtype insertion modes |
Tab | Indents the currently selected line or lines by one tab stop. If there is no selection, this inserts a tab stop |
Shift-Tab | Moves current line or selected lines one tab stop to the left |
Backspace or Shift-Backspace | Deletes one character to the left of the cursor |
Ctrl-K, Ctrl-C | Marks the current line or selected lines of code as a comment, using the correct comment syntax for the programming language |
Ctrl-K, Ctrl-U | Removes the comment syntax from the current line or currently selected lines of code |
Ctrl-T or Shift-Enter | Swaps the characters on either side of the cursor. (For example, AC|BD becomes AB|CD.) Available only in text editors |
Ctrl-K, Ctrl-L | Removes all unnamed bookmarks in the current document |
Ctrl-M, Ctrl-O | Automatically determines logical boundaries for creating regions in code, such as procedures, and then hides them. This collapses all such regions in the current document |
Alt-Right Arrow or Ctrl-Spacebar | Displays statement completion based on the current language or autocompletes word if existing text unambiguously identifies a single symbol |
Ctrl-K, Ctrl-\ | Removes horizontal whitespace in the selection or deletes whitespace adjacent to the cursor if there is no selection |
Ctrl-K, Ctrl-F | Applies the indenting and space formatting for the language as specified on the Formatting pane of the language in the Text Editor section of the Options dialog to the selected text. |
Ctrl-L | Cuts all selected lines or the current line if nothing has been selected to the clipboard |
Ctrl-Shift-L | Deletes all selected lines or the current line if no selection has been made |
Ctrl-Enter | Inserts a blank line above the cursor |
Ctrl-Shift-Enter | Inserts a blank line below the cursor |
Shift-Alt-T | Moves the line containing the cursor below the next line |
Ctrl-J | Lists members for statement completion when editing code |
Ctrl-U | Changes the selected text to lowercase characters |
Ctrl-Shift-U | Changes the selected text to uppercase characters |
Ctrl-Shift-Spacebar | Displays a tooltip that contains information for the current parameter, based on the current language |
Ctrl-M, Ctrl-U | Removes the outlining information for the currently selected region |
Ctrl-M, Ctrl-P | Removes all outlining information from the entire document |
Ctrl-R, Ctrl-P | Swaps the anchor and endpoint of the current selection |
Ctrl-M, Ctrl-L | Toggles all previously marked hidden text sections between hidden and display states |
Ctrl-K, Ctrl-K | Sets or removes a bookmark at the current line |
Ctrl-M, Ctrl-M | Toggles the currently selected hidden text section or the section containing the cursor if there is no selection between the hidden and display states |
Ctrl-K, Ctrl-H | Sets or removes a shortcut in the tasklist to the current line |
Ctrl-R, Ctrl-R | Enables or disables word wrap in an editor |
Ctrl-R, Ctrl-W | Shows or hides spaces and tab marks |
Ctrl-Delete | Deletes the word to the right of the cursor |
Ctrl-Backspace | Deletes the word to the left of the cursor |
Ctrl-Shift-T | Transposes the two words that follow the cursor. (For example, |End Sub would be changed to read Sub End|.) |
Ctrl-.[dot] | Display options on smarttag menu. Very useful for showing using/Imports options. |
return to top
Text selection
Shortcut | Description |
Shift-Left Arrow | Moves the cursor to the left one character, extending the selection |
Shift-Alt-Left Arrow | Moves the cursor to the left one character, extending the column selection |
Shift-Right Arrow | Moves the cursor to the right one character, extending the selection |
Shift-Alt-Right Arrow | Moves the cursor to the right one character, extending the column selection |
Ctrl-Shift-End | Moves the cursor to the end of the document, extending the selection |
Ctrl-Shift-Home | Moves the cursor to the start of the document, extending the selection |
Ctrl-Shift-] | Moves the cursor to the next brace, extending the selection |
Shift-Down Arrow | Moves the cursor down one line, extending the selection |
Shift-Alt-Down Arrow | Moves the cursor down one line, extending the column selection |
Shift-End | Moves the cursor to the end of the current line, extending the selection |
Shift-Alt-End | Moves the cursor to the end of the line, extending the column selection |
Shift-Home | Moves the cursor to the start of the line, extending the selection |
Shift-Alt-Home | Moves the cursor to the start of the line, extending the column selection |
Shift-Up Arrow | Moves the cursor up one line, extending the selection |
Shift-Alt-Up Arrow | Moves the cursor up one line, extending the column selection |
Shift-Page Down | Extends selection down one page |
Shift-Page Up | Extends selection up one page |
Ctrl-A | Selects everything in the current document |
Ctrl-W | Selects the word containing the cursor or the word to the right of the cursor |
Ctrl-= | Selects from the current location in the editor back to the previous location in the navigation history |
Ctrl-Shift-Page Down | Moves the cursor to the last line in view, extending the selection |
Ctrl-Shift-Page Up | Moves the cursor to the top of the current window, extending the selection |
Ctrl-Shift-Alt-Right Arrow | Moves the cursor to the right one word, extending the column selection |
Ctrl-Shift-Left Arrow | Moves the cursor one word to the left, extending the selection |
Ctrl-Shift-Alt-Left Arrow | Moves the cursor to the left one word, extending the column selection |
return to top
Project related
Shortcut | Description |
Ctrl-Shift-B | Builds the solution |
Ctrl-N | Displays the New File dialog. Note: files created this way are not associated with a project. Use Ctrl-Shift-A to add a new file in a project |
Ctrl-Shift-N | Displays the New Project dialog |
Ctrl-O | Displays the Open File dialog |
Ctrl-Shift-O | Displays the Open Project dialog |
Shift-Alt-A | Displays the Add Existing Item dialog |
Ctrl-Shift-A | Displays the Add New Item dialog |
Ctrl-Alt-Insert | Allows you to override base class methods in a derived class when an overridable method is highlighted in the Class View pane |
return to top
Window manipulation
Shortcut | Description |
Shift-Alt-Enter | Toggles full screen mode |
Ctrl-+ | Goes back to the previous location in the navigation history. (For example, if you press Ctrl-Home to go to the start of a document, this shortcut will take the cursor back to wherever it was before you pressed Ctrl-Home.) |
Ctrl-Shift-+ | Moves forward in the navigation history. This is effectively an undo for the View.NavigateBackward operation |
Ctrl-F4 | Closes the current MDI child window |
Shift-Esc | Closes the current tool window |
Ctrl-F2 | Moves the cursor to the navigation bar at the top of a code view |
Ctrl-Tab | Cycles through the MDI child windows one window at a time |
Ctrl-F6, Ctrl-Shift-Tab | Moves to the previous MDI child window |
Alt-F6, Ctrl-Shift-F6 | Moves to the next tool window |
Shift-Alt-F6 | Moves to the previously selected window |
F6 | Moves to the next pane of a split pane view of a single document |
Shift-F6 | Moves to the previous pane of a document in split pane view |
Ctrl-Pagedown | Moves to the next tab in the document or window (e.g., you can use this to switch the HTML editor from its design view to its HTML view |
Ctrl-PageUp | Moves to the previous tab in the document or window |
return to top
Control editor (designer)
Shortcut | Description |
Ctrl-Down Arrow | Moves the selected control down in increments of one on the design surface |
Down Arrow | Moves the selected control down to the next grid position on the design surface |
Ctrl-Left Arrow | Moves the control to the left in increments of one on the design surface |
Left Arrow | Moves the control to the left to the next grid position on the design surface |
Ctrl-Right Arrow | Moves the control to the right in increments of one on the design surface |
Right Arrow | Moves the control to the right into the next grid position on the design surface |
Ctrl-Up Arrow | Moves the control up in increments of one on the design surface |
Up Arrow | Moves the control up into the next grid position on the design surface |
Tab | Moves to the next control in the tab order |
Shift-Tab | Moves to the previous control in the tab order |
Ctrl-Shift-Down Arrow | Increases the height of the control in increments of one on the design surface |
Shift-Down Arrow | Increases the height of the control to the next grid position on the design surface |
Ctrl-Shift-Left Arrow | Reduces the width of the control in increments of one on the design surface |
Shift-Left Arrow | Reduces the width of the control to the next grid position on the design surface |
Ctrl-Shift-Right Arrow | Increases the width of the control in increments of one on the design surface |
Shift-Left Arrow | Increases the width of the control to the next grid position on the design surface |
Ctrl-Shift-Up Arrow | Decreases the height of the control in increments of one on the design surface |
Shift-Up Arrow | Decreases the height of the control to the next grid position on the design surface |
return to top
Search and replace
Shortcut | Description |
Ctrl-F | Displays the Find dialog |
Ctrl-Shift-F | Displays the Find in Files dialog |
F3 | Finds the next occurrence of the previous search text |
Ctrl-F3 | Finds the next occurrence of the currently selected text or the word under the cursor if there is no selection |
Shift-F3 | Finds the previous occurrence of the search text |
Ctrl-Shift-F3 | Finds the previous occurrence of the currently selected text or the word under the cursor |
Ctrl-D | Places the cursor in the Find/Command line on the Standard toolbar |
Alt-F3, H | Selects or clears the Search Hidden Text option for the Find dialog |
Ctrl-I | Starts an incremental search—after pressing Ctrl-I, you can type in text, and for each letter you type, VS.NET will find the first occurrence of the sequence of letters you have typed so far. This is a very convenient facility, as it lets you find text by typing in exactly as many characters as are required to locate the text and no more. If you press Ctrl-I a second time without typing any characters, it recalls the previous pattern. If you press it a third time or you press it when an incremental search has already found a match, VS.NET searches for the next occurrence. |
Alt-F3, C | Selects or clears the Match Case option for Find and Replace operations |
Alt-F3, R | Selects or clears the Regular Expression option so that special characters can be used in Find and Replace operations |
Ctrl-H | Displays the Replace dialog |
Ctrl-Shift-H | Displays the Replace in Files dialog |
Ctrl-Shift-I | Performs an incremental search in reverse direction |
Alt-F3, S | Halts the current Find in Files operation |
Alt-F3, B | Selects or clears the Search Up option for Find and Replace operations |
Alt-F3, W | Selects or clears the Match Whole Word option for Find and Replace operations |
Alt-F3, P | Selects or clears the Wildcard option for Find and Replace operations |
return to top
Help
Shortcut | Description |
Ctrl-Alt-F1 | Displays the Contents window for the documentation |
Ctrl-F1 | Displays the Dynamic Help window, which displays different topics depending on what items currently have focus. If the focus is in a source window, the Dynamic Help window will display help topics that are relevant to the text under the cursor |
F1 | Displays a topic from Help that corresponds to the part of the user interface that currently has the focus. If the focus is in a source window, Help will try to display a topic relevant to the text under the cursor |
Ctrl-Alt-F2 | Displays the Help Index window |
Shift-Alt-F2 | Displays the Index Results window, which lists the topics that contain the keyword selected in the Index window |
Alt-Down Arrow | Displays the next topic in the table of contents. Available only in the Help browser window |
Alt-Up Arrow | Displays the previous topic in the table of contents. Available only in the Help browser window |
Ctrl-Alt-F3 | Displays the Search window, which allows you to search for words or phrases in the documentation |
Shift-Alt-F3 | Displays the Search Results window, which displays a list of topics that contain the string searched for from the Search window. |
Shift-F1 | Displays a topic from Help that corresponds to the user interface item that has the focus |
return to top
Debugging
Shortcut | Description |
Ctrl-Alt-V, A | Displays the Auto window to view the values of variables currently in the scope of the current line of execution within the current procedure |
Ctrl-Alt-Break | Temporarily stops execution of all processes in a debugging session. Available only in run mode |
Ctrl-Alt-B | Displays the Breakpoints dialog, where you can add and modify breakpoints |
Ctrl-Alt-C | Displays the Call Stack window to display a list of all active procedures or stack frames for the current thread of execution. Available only in break mode |
Ctrl-Shift-F9 | Clears all of the breakpoints in the project |
Ctrl-Alt-D | Displays the Disassembly window |
Ctrl-F9 | Enables or disables the breakpoint on the current line of code. The line must already have a breakpoint for this to work |
Ctrl-Alt-E | Displays the Exceptions dialog |
Ctrl-Alt-I | Displays the Immediate window, where you can evaluate expressions and execute individual commands |
Ctrl-Alt-V, L | Displays the Locals window to view the variables and their values for the currently selected procedure in the stack frame |
Ctrl-Alt-M, 1 | Displays the Memory 1 window to view memory in the process being debugged. This is particularly useful when you do not have debugging symbols available for the code you are looking at. It is also helpful for looking at large buffers, strings, and other data that does not display clearly in the Watch or Variables window |
Ctrl-Alt-M, 2 | Displays the Memory 2 window |
Ctrl-Alt-M, 3 | Displays the Memory 3 window |
Ctrl-Alt-M, 4 | Displays the Memory 4 window |
Ctrl-Alt-U | Displays the Modules window, which allows you to view the .dll or .exe files loaded by the program. In multiprocess debugging, you can right-click and select Show Modules for all programs |
Ctrl-B | Opens the New Breakpoint dialog |
Ctrl-Alt-Q | Displays the Quick Watch dialog with the current value of the selected expression. Available only in break mode. Use this command to check the current value of a variable, property, or other expression for which you have not defined a watch expression |
Ctrl-Alt-G | Displays the Registers window, which displays CPU register contents |
Ctrl-Shift-F5 | Terminates the current debugging session, rebuilds if necessary, and then starts a new debugging session. Available in break and run modes |
Ctrl-Alt-N | Displays the Running Documents window that displays the set of HTML documents that you are in the process of debugging. Available in break and run modes |
Ctrl-F10 | Starts or resumes execution of your code and then halts execution when it reaches the selected statement. This starts the debugger if it is not already running |
Ctrl-Shift-F10 | Sets the execution point to the line of code you choose |
Alt-NUM * | Highlights the next statement to be executed |
F5 | If not currently debugging, this runs the startup project or projects and attaches the debugger. If in break mode, this allows execution to continue (i.e., it returns to run mode). |
Ctrl-F5 | Runs the code without invoking the debugger. For console applications, this also arranges for the console window to stay open with a "Press any key to continue" prompt when the program finishes |
F11 | Executes code one statement at a time, tracing execution into function calls |
Shift-F11 | Executes the remaining lines of a function in which the current execution point lies |
F10 | Executes the next line of code but does not step into any function calls |
Shift-F5 | Available in break and run modes, this terminates the debugging session |
Ctrl-Alt-V, T | Displays the This window, which allows you to view the data members of the object associated with the current method |
Ctrl-Alt-H | Displays the Threads window to view all of the threads for the current process |
F9 | Sets or removes a breakpoint at the current line |
Ctrl-F11 | Displays the disassembly information for the current source file. Available only in break mode |
Ctrl-Alt-W, 1 | Displays the Watch 1 window to view the values of variables or watch expressions |
Ctrl-Alt-W, 2 | Displays the Watch 2 window |
Ctrl-Alt-W, 3 | Displays the Watch 3 window |
Ctrl-Alt-W, 4 | Displays the Watch 4 window |
Ctrl-Alt-P | Displays the Processes dialog, which allows you to attach or detach the debugger to one or more running processes |
return to top
Object browser
Shortcut | Description |
Alt-F12 | Displays the Find Symbol dialog |
Ctrl-F12 | Displays the declaration of the selected symbol in the code |
F12 | Displays the definition for the selected symbol in code |
Ctrl-Alt-F12 | Displays the Find Symbol Results window |
Ctrl-Alt-J | Displays the Object Browser to view the classes, properties, methods, events, and constants defined either in your project or by components and type libraries referenced by your project |
Alt-+ | Moves back to the previously selected object in the selection history of the object browser |
Shift-Alt-+ | Moves forward to the next object in the selection history of the object browser |
return to top
Tool window
Shortcut | Description |
Ctrl-Shift-M | Toggles the Command window into or out of a mode allowing text within the window to be selected |
Ctrl-Shift-C | Displays the Class View window |
Ctrl-Alt-A | Displays the Command window, which allows you to type commands that manipulate the IDE |
Ctrl-Alt-T | Displays the Document Outline window to view the flat or hierarchical outline of the current document |
Ctrl-Alt-F | Displays the Favorites window, which lists shortcuts to web pages |
Ctrl-Alt-O | Displays the Output window to view status messages at runtime |
F4 | Displays the Properties window, which lists the design-time properties and events for the currently selected item |
Shift-F4 | Displays the property pages for the item currently selected. (For example, use this to show a project's settings.) |
Ctrl-Shift-E | Displays the Resource View window |
Ctrl-Alt-S | Displays the Server Explorer window, which allows you to view and manipulate database servers, event logs, message queues, web services, and many other operating system services |
Ctrl-Alt-R | Displays the web browser window, which allows you to view pages on the Internet |
Ctrl-Alt-L | Displays the Solution Explorer, which lists the projects and files in the current solution |
Ctrl-Alt-K | Displays the TaskList window, which displays tasks, comments, shortcuts, warnings, and error messages |
Ctrl-Alt-X | Displays the Toolbox, which contains controls and other items that can be dragged into editor and designer windows |
return to top
Html editor (Design View)
Shortcut | Description |
Ctrl-B | Toggles the selected text between bold and normal |
Ctrl-Shift-T | Decreases the selected paragraph by one indent unit |
Ctrl-T | Indents the selected paragraph by one indent unit |
Ctrl-I | Toggles the selected text between italic and normal |
Ctrl-Shift-K | Prevents an absolutely positioned element from being inadvertently moved. If the element is already locked, this unlocks it |
Ctrl-G | Toggles the grid |
Ctrl-Shift-G | Specifies that elements be aligned using an invisible grid. You can set grid spacing on the Design pane of HTML designer options in the Options dialog, and the grid will be changed the next time you open a document |
Ctrl-U | Toggles the selected text between underlined and normal |
Ctrl-Shift-L | Displays the Bookmark dialog |
Ctrl-J | Inserts <div></div> in the current HTML document |
Ctrl-L | When text is selected, displays the Hyperlink dialog |
Ctrl-Shift-W | Displays the Insert Image dialog |
Ctrl-Alt-Up Arrow | Adds one row above the current row in the table |
Ctrl-Alt-Down Arrow | Adds one row below the current row in the table |
Ctrl-Alt-Left Arrow | Adds one column to the left of the current column in the table |
Ctrl-Alt-Right Arrow | Adds one column to the right of the current column in the table |
Ctrl-Shift-Q | Toggles display of marker icons for HTML elements that do not have a visual representation, such as comments, scripts, and anchors for absolutely positioned elements |
Ctrl-Page Down | Switches from design view to HTML view and vice versa |
Ctrl-Q | Displays a 1-pixel border around HTML elements that support a BORDER attribute and have it set to zero, such as tables, table cells, and divisions |
return to top
Macro
Shortcut | Description |
Alt-F8 | Displays the Macro Explorer window, which lists all available macros |
Alt-F11 | Launches the macros IDE |
Ctrl-Shift-R | Places the environment in macro record mode or completes recording if already in record mode |
Ctrl-Shift-P | Plays back a recorded macro |