visual studio 2008 快捷键 (Style:Visual C# 2005)(zz.IS2120@BG57IV3)

来源:互联网 发布:编程一小时 编辑:程序博客网 时间:2024/06/05 04:33
//z 2012-11-29 11:24:18 IS2120@BG57IV3.T4196729265.K[T39,L363,R14,V344]

Visual Studio Keyboard Shortcuts (排序版)

CommandShortcutBuild.BuildSolution #0Global::Ctrl+Shift+BBuild.BuildSolution #1Global::F6Build.CancelGlobal::Ctrl+BreakBuild.CompileGlobal::Ctrl+F7ClassDiagram.CollapseClass Diagram::Num -ClassDiagram.ExpandClass Diagram::Num +ClassViewContextMenus.ClassViewMultiselectProjectreferencesItems.PropertiesGlobal::Alt+EnterData.ColumnDataSet Editor::Ctrl+LData.ExecuteGlobal::Ctrl+Alt+F5Data.InsertColumnDataSet Editor::InsData.ShowDataSourcesGlobal::Shift+Alt+DData.StepIntoGlobal::Alt+F5Debug.ApplyCodeChangesGlobal::Alt+F10Debug.Autos #0Global::Ctrl+Alt+V, ADebug.Autos #1Global::Ctrl+D, ADebug.Autos #2Global::Ctrl+D, Ctrl+ADebug.BreakAllGlobal::Ctrl+Alt+BreakDebug.BreakatFunction #0Global::Ctrl+BDebug.BreakatFunction #1Global::Ctrl+D, NDebug.BreakatFunction #2Global::Ctrl+D, Ctrl+NDebug.Breakpoints #0Global::Ctrl+Alt+BDebug.Breakpoints #1Global::Ctrl+D, BDebug.Breakpoints #2Global::Ctrl+D, Ctrl+BDebug.CallStack #0Global::Ctrl+D, CDebug.CallStack #1Global::Ctrl+D, Ctrl+CDebug.DeleteAllBreakpointsGlobal::Ctrl+Shift+F9Debug.DisassemblyGlobal::Ctrl+Alt+DDebug.EnableBreakpointGlobal::Ctrl+F9Debug.Exceptions #0Global::Ctrl+Alt+EDebug.Exceptions #1Global::Ctrl+D, EDebug.Exceptions #2Global::Ctrl+D, Ctrl+EDebug.Immediate #0Global::Ctrl+Alt+IDebug.Immediate #1Global::Ctrl+D, IDebug.Immediate #2Global::Ctrl+D, Ctrl+IDebug.Locals #0Global::Ctrl+Alt+V, LDebug.Locals #1Global::Ctrl+D, LDebug.Locals #2Global::Ctrl+D, Ctrl+LDebug.LocationToolbar.ProcessComboGlobal::Ctrl+5Debug.LocationToolbar.StackFrameComboGlobal::Ctrl+7Debug.LocationToolbar.ThreadComboGlobal::Ctrl+6Debug.LocationToolbar.ToggleCurrentThreadFlaggedStateGlobal::Ctrl+8Debug.LocationToolbar.ToggleFlaggedThreadsGlobal::Ctrl+9Debug.Memory1 #0Global::Ctrl+Alt+M, 1Debug.Memory1 #1Global::Ctrl+D, YDebug.Memory1 #2Global::Ctrl+D, Ctrl+YDebug.Memory2Global::Ctrl+Alt+M, 2Debug.Memory3Global::Ctrl+Alt+M, 3Debug.Memory4Global::Ctrl+Alt+M, 4Debug.Modules #0Global::Ctrl+Alt+UDebug.Modules #1Global::Ctrl+D, MDebug.Modules #2Global::Ctrl+D, Ctrl+MDebug.Processes #0Global::Ctrl+Alt+ZDebug.Processes #1Global::Ctrl+D, PDebug.Processes #2Global::Ctrl+D, Ctrl+PDebug.QuickWatch #0Global::Ctrl+Alt+QDebug.QuickWatch #1Global::Shift+F9Debug.QuickWatch #2Global::Ctrl+D, QDebug.QuickWatch #3Global::Ctrl+D, Ctrl+QDebug.Registers #0Global::Ctrl+Alt+GDebug.Registers #1Global::Ctrl+D, RDebug.Registers #2Global::Ctrl+D, Ctrl+RDebug.RestartGlobal::Ctrl+Shift+F5Debug.RunToCursorGlobal::Ctrl+F10Debug.ShowNextStatementGlobal::Alt+Num *Debug.StartGlobal::F5Debug.StartWithoutDebuggingGlobal::Ctrl+F5Debug.StepIntoGlobal::F11Debug.StepIntoCurrentProcessGlobal::Ctrl+Alt+F11Debug.StepIntoSpecificGlobal::Shift+Alt+F11Debug.StepOutGlobal::Shift+F11Debug.StepOutCurrentProcessGlobal::Ctrl+Shift+Alt+F11Debug.StepOverGlobal::F10Debug.StepOverCurrentProcessGlobal::Ctrl+Alt+F10Debug.StopDebuggingGlobal::Shift+F5Debug.Threads #0Global::Ctrl+Alt+HDebug.Threads #1Global::Ctrl+D, TDebug.Threads #2Global::Ctrl+D, Ctrl+TDebug.ToggleBreakpointGlobal::F9Debug.ToggleDisassembly #0Global::Ctrl+F11Debug.ToggleDisassembly #1Global::Ctrl+D, DDebug.ToggleDisassembly #2Global::Ctrl+D, Ctrl+DDebug.Watch #0Global::Ctrl+Alt+W, 1Debug.Watch #1Global::Ctrl+D, WDebug.Watch #2Global::Ctrl+D, Ctrl+WDebug.Watch2Global::Ctrl+Alt+W, 2Debug.Watch3Global::Ctrl+Alt+W, 3Debug.Watch4Global::Ctrl+Alt+W, 4DebuggerContextMenus.BreakpointsWindow.DeleteGlobal::Alt+F9, DDebuggerContextMenus.BreakpointsWindow.GoToDisassemblyGlobal::Alt+F9, ADebuggerContextMenus.BreakpointsWindow.GoToSourceCodeGlobal::Alt+F9, SEdit.BreakLine #0Windows Forms Designer::EnterEdit.BreakLine #1Text Editor::Shift+EnterEdit.BreakLine #2Text Editor::EnterEdit.BreakLine #3Report Designer::EnterEdit.CharLeft #0Windows Forms Designer::Left ArrowEdit.CharLeft #1Text Editor::Left ArrowEdit.CharLeft #2Report Designer::Left ArrowEdit.CharLeftExtend #0Windows Forms Designer::Shift+Left ArrowEdit.CharLeftExtend #1Text Editor::Shift+Left ArrowEdit.CharLeftExtend #2Report Designer::Shift+Left ArrowEdit.CharLeftExtendColumnText Editor::Shift+Alt+Left ArrowEdit.CharRight #0Windows Forms Designer::Right ArrowEdit.CharRight #1Text Editor::Right ArrowEdit.CharRight #2Report Designer::Right ArrowEdit.CharRightExtend #0Windows Forms Designer::Shift+Right ArrowEdit.CharRightExtend #1Text Editor::Shift+Right ArrowEdit.CharRightExtend #2Report Designer::Shift+Right ArrowEdit.CharRightExtendColumnText Editor::Shift+Alt+Right ArrowEdit.CharTransposeText Editor::Ctrl+TEdit.ClearBookmarks #0Text Editor::Ctrl+B, CEdit.ClearBookmarks #1Text Editor::Ctrl+B, Ctrl+CEdit.CollapseTagText Editor::Ctrl+M, Ctrl+TEdit.CollapsetoDefinitions #0Text Editor::Ctrl+M, Ctrl+OEdit.CollapsetoDefinitions #1Text Editor::Ctrl+M, OEdit.CommentSelection #0Text Editor::Ctrl+K, Ctrl+CEdit.CommentSelection #1Text Editor::Ctrl+E, CEdit.CommentSelection #2Text Editor::Ctrl+E, Ctrl+CEdit.CompleteWord #0Text Editor::Alt+Right ArrowEdit.CompleteWord #1Text Editor::Ctrl+SpaceEdit.CompleteWord #2Text Editor::Ctrl+K, WEdit.CompleteWord #3Text Editor::Ctrl+K, Ctrl+WEdit.Copy #0Global::Ctrl+CEdit.Copy #1Global::Ctrl+InsEdit.CopyParameterTipText Editor::Ctrl+Shift+Alt+CEdit.Cut #0Global::Ctrl+XEdit.Cut #1Global::Shift+DelEdit.CycleClipboardRing #0Global::Ctrl+Shift+VEdit.CycleClipboardRing #1Global::Ctrl+Shift+InsEdit.DecreaseFilterLevelText Editor::Alt+,Edit.Delete #0Class Diagram::Ctrl+DelEdit.Delete #1Global::DelEdit.DeleteBackwards #0Text Editor::Shift+BkspceEdit.DeleteBackwards #1Text Editor::BkspceEdit.DeleteHorizontalWhiteSpace #0Text Editor::Ctrl+K, Ctrl+\Edit.DeleteHorizontalWhiteSpace #1Text Editor::Ctrl+E, \Edit.DeleteHorizontalWhiteSpace #2Text Editor::Ctrl+E, Ctrl+\Edit.DocumentEnd #0Windows Forms Designer::EndEdit.DocumentEnd #1Text Editor::Ctrl+EndEdit.DocumentEndExtend #0Windows Forms Designer::Shift+EndEdit.DocumentEndExtend #1Text Editor::Ctrl+Shift+EndEdit.DocumentStart #0Windows Forms Designer::HomeEdit.DocumentStart #1Text Editor::Ctrl+HomeEdit.DocumentStartExtend #0Windows Forms Designer::Shift+HomeEdit.DocumentStartExtend #1Text Editor::Ctrl+Shift+HomeEdit.EditCell #0Managed Resources Editor::F2Edit.EditCell #1Settings Designer::F2Edit.EnableBookmark #0Text Editor::Ctrl+B, EEdit.EnableBookmark #1Text Editor::Ctrl+B, Ctrl+EEdit.ExpandCollapseBaseTypeListClass Diagram::Shift+Alt+BEdit.FindGlobal::Ctrl+FEdit.FindAllReferences #0Global::Ctrl+K, REdit.FindAllReferences #1Global::Ctrl+K, Ctrl+REdit.FindAllReferences #2Global::Shift+F12Edit.FindinFilesGlobal::Ctrl+Shift+FEdit.FindNextGlobal::F3Edit.FindNextSelectedGlobal::Ctrl+F3Edit.FindPreviousGlobal::Shift+F3Edit.FindPreviousSelectedGlobal::Ctrl+Shift+F3Edit.FindSymbolGlobal::Alt+F12Edit.FormatDocument #0Text Editor::Ctrl+K, Ctrl+DEdit.FormatDocument #1Text Editor::Ctrl+E, DEdit.FormatDocument #2Text Editor::Ctrl+E, Ctrl+DEdit.FormatSelection #0Text Editor::Ctrl+K, Ctrl+FEdit.FormatSelection #1Text Editor::Ctrl+E, FEdit.FormatSelection #2Text Editor::Ctrl+E, Ctrl+FEdit.GenerateMethodStub #0Global::Ctrl+K, MEdit.GenerateMethodStub #1Global::Ctrl+K, Ctrl+MEdit.GoToGlobal::Ctrl+GEdit.GotoBraceText Editor::Ctrl+]Edit.GotoBraceExtendText Editor::Ctrl+Shift+]Edit.GoToDeclarationGlobal::Ctrl+F12Edit.GoToDefinitionGlobal::F12Edit.GoToFindComboGlobal::Ctrl+/Edit.GoToNextLocationGlobal::F8Edit.HideSelectionText Editor::Ctrl+M, Ctrl+HEdit.IncreaseFilterLevelText Editor::Alt+.Edit.IncrementalSearchText Editor::Ctrl+IEdit.InsertSnippet #0Global::Ctrl+K, Ctrl+XEdit.InsertSnippet #1Global::Ctrl+K, XEdit.InsertTab #0Windows Forms Designer::TabEdit.InsertTab #1Text Editor::TabEdit.InsertTab #2Report Designer::TabEdit.LineCutText Editor::Ctrl+LEdit.LineDeleteText Editor::Ctrl+Shift+LEdit.LineDown #0Windows Forms Designer::Down ArrowEdit.LineDown #1Text Editor::Down ArrowEdit.LineDown #2Report Designer::Down ArrowEdit.LineDownExtend #0Windows Forms Designer::Shift+Up ArrowEdit.LineDownExtend #1Text Editor::Shift+Down ArrowEdit.LineDownExtend #2Report Designer::Shift+Down ArrowEdit.LineDownExtendColumnText Editor::Shift+Alt+Down ArrowEdit.LineEndText Editor::EndEdit.LineEndExtendText Editor::Shift+EndEdit.LineEndExtendColumnText Editor::Shift+Alt+EndEdit.LineOpenAboveText Editor::Ctrl+EnterEdit.LineOpenBelowText Editor::Ctrl+Shift+EnterEdit.LineStartText Editor::HomeEdit.LineStartExtendText Editor::Shift+HomeEdit.LineStartExtendColumnText Editor::Shift+Alt+HomeEdit.LineTransposeText Editor::Shift+Alt+TEdit.LineUp #0Windows Forms Designer::Up ArrowEdit.LineUp #1Text Editor::Up ArrowEdit.LineUp #2Report Designer::Up ArrowEdit.LineUpExtend #0Windows Forms Designer::Shift+Down ArrowEdit.LineUpExtend #1Text Editor::Shift+Up ArrowEdit.LineUpExtend #2Report Designer::Shift+Up ArrowEdit.LineUpExtendColumnText Editor::Shift+Alt+Up ArrowEdit.ListMembers #0Text Editor::Ctrl+JEdit.ListMembers #1Text Editor::Ctrl+K, LEdit.ListMembers #2Text Editor::Ctrl+K, Ctrl+LEdit.MakeLowercaseText Editor::Ctrl+UEdit.MakeUppercaseText Editor::Ctrl+Shift+UEdit.MoveControlDown #0Global::Ctrl+Down ArrowEdit.MoveControlDown #1VC Dialog Editor::Down ArrowEdit.MoveControlDown #2HTML Editor Design View::Ctrl+Down ArrowEdit.MoveControlDown #3Windows Forms Designer::Ctrl+Down ArrowEdit.MoveControlDown #4Report Designer::Ctrl+Down ArrowEdit.MoveControlDownGridGlobal::Down ArrowEdit.MoveControlLeft #0Global::Ctrl+Left ArrowEdit.MoveControlLeft #1VC Dialog Editor::Left ArrowEdit.MoveControlLeft #2Windows Forms Designer::Ctrl+Left ArrowEdit.MoveControlLeft #3Report Designer::Ctrl+Left ArrowEdit.MoveControlLeftGridGlobal::Left ArrowEdit.MoveControlRight #0Global::Ctrl+Right ArrowEdit.MoveControlRight #1VC Dialog Editor::Right ArrowEdit.MoveControlRight #2Windows Forms Designer::Ctrl+Right ArrowEdit.MoveControlRight #3Report Designer::Ctrl+Right ArrowEdit.MoveControlRightGridGlobal::Right ArrowEdit.MoveControlUp #0Global::Ctrl+Up ArrowEdit.MoveControlUp #1VC Dialog Editor::Up ArrowEdit.MoveControlUp #2HTML Editor Design View::Ctrl+Up ArrowEdit.MoveControlUp #3Windows Forms Designer::Ctrl+Up ArrowEdit.MoveControlUp #4Report Designer::Ctrl+Up ArrowEdit.MoveControlUpGridGlobal::Up ArrowEdit.NavigateToLollipopClass Diagram::Shift+Alt+LEdit.NewAcceleratorVC Accelerator Editor::InsEdit.NewStringVC String Editor::InsEdit.NextBookmark #0Global::Ctrl+K, Ctrl+NEdit.NextBookmark #1Text Editor::Ctrl+B, NEdit.NextBookmark #2Text Editor::Ctrl+B, Ctrl+NEdit.NextKeyTypedVC Accelerator Editor::Ctrl+WEdit.OpenFileGlobal::Ctrl+Shift+GEdit.OvertypeModeText Editor::InsEdit.PageDownText Editor::PgDnEdit.PageDownExtendText Editor::Shift+PgDnEdit.PageUpText Editor::PgUpEdit.PageUpExtendText Editor::Shift+PgUpEdit.ParameterInfo #0Text Editor::Ctrl+Shift+SpaceEdit.ParameterInfo #1Text Editor::Ctrl+K, PEdit.ParameterInfo #2Text Editor::Ctrl+K, Ctrl+PEdit.Paste #0Global::Ctrl+VEdit.Paste #1Global::Shift+InsEdit.PasteParameterTipText Editor::Ctrl+Shift+Alt+PEdit.PreviousBookmark #0Global::Ctrl+K, Ctrl+PEdit.PreviousBookmark #1Text Editor::Ctrl+B, PEdit.PreviousBookmark #2Text Editor::Ctrl+B, Ctrl+PEdit.QuickFindSymbolGlobal::Shift+Alt+F12Edit.QuickInfo #0Text Editor::Ctrl+K, Ctrl+IEdit.QuickInfo #1Text Editor::Ctrl+K, IEdit.Redo #0Global::Ctrl+YEdit.Redo #1Global::Shift+Alt+BkspceEdit.Redo #2Global::Ctrl+Shift+ZEdit.RemoveManaged Resources Editor::DelEdit.RemovefromDiagramClass Diagram::DelEdit.RemoveRow #0Managed Resources Editor::Ctrl+DelEdit.RemoveRow #1Settings Designer::Ctrl+DelEdit.ReplaceGlobal::Ctrl+HEdit.ReplaceinFilesGlobal::Ctrl+Shift+HEdit.ReverseIncrementalSearchText Editor::Ctrl+Shift+IEdit.ScrollColumnLeftVC Dialog Editor::Ctrl+Left ArrowEdit.ScrollColumnRightVC Dialog Editor::Ctrl+Right ArrowEdit.ScrollLineDown #0VC Dialog Editor::Ctrl+Down ArrowEdit.ScrollLineDown #1Text Editor::Ctrl+Down ArrowEdit.ScrollLineUp #0VC Dialog Editor::Ctrl+Up ArrowEdit.ScrollLineUp #1Text Editor::Ctrl+Up ArrowEdit.SelectAllGlobal::Ctrl+AEdit.SelectCurrentWordGlobal::Ctrl+Shift+WEdit.SelectionCancel #0Managed Resources Editor::EscEdit.SelectionCancel #1Settings Designer::EscEdit.SelectionCancel #2Windows Forms Designer::EscEdit.SelectionCancel #3Text Editor::EscEdit.SelectionCancel #4Report Designer::EscEdit.SelectNextControlGlobal::TabEdit.SelectPreviousControlGlobal::Shift+TabEdit.SelectToLastGoBackText Editor::Ctrl+=Edit.ShowTileGridGlobal::EnterEdit.SizeControlDown #0Global::Ctrl+Shift+Down ArrowEdit.SizeControlDown #1VC Dialog Editor::Shift+Down ArrowEdit.SizeControlDown #2Windows Forms Designer::Ctrl+Shift+Down ArrowEdit.SizeControlDown #3Report Designer::Ctrl+Shift+Down ArrowEdit.SizeControlDownGridGlobal::Shift+Down ArrowEdit.SizeControlLeft #0Global::Ctrl+Shift+Left ArrowEdit.SizeControlLeft #1VC Dialog Editor::Shift+Left ArrowEdit.SizeControlLeft #2Windows Forms Designer::Ctrl+Shift+Left ArrowEdit.SizeControlLeft #3Report Designer::Ctrl+Shift+Left ArrowEdit.SizeControlLeftGridGlobal::Shift+Left ArrowEdit.SizeControlRight #0Global::Ctrl+Shift+Right ArrowEdit.SizeControlRight #1VC Dialog Editor::Shift+Right ArrowEdit.SizeControlRight #2Windows Forms Designer::Ctrl+Shift+Right ArrowEdit.SizeControlRight #3Report Designer::Ctrl+Shift+Right ArrowEdit.SizeControlRightGridGlobal::Shift+Right ArrowEdit.SizeControlUp #0Global::Ctrl+Shift+Up ArrowEdit.SizeControlUp #1VC Dialog Editor::Shift+Up ArrowEdit.SizeControlUp #2Windows Forms Designer::Ctrl+Shift+Up ArrowEdit.SizeControlUp #3Report Designer::Ctrl+Shift+Up ArrowEdit.SizeControlUpGridGlobal::Shift+Up ArrowEdit.StopHidingCurrentText Editor::Ctrl+M, Ctrl+UEdit.StopOutlining #0Text Editor::Ctrl+M, Ctrl+PEdit.StopOutlining #1Text Editor::Ctrl+M, PEdit.StopSearchGlobal::Alt+F3, SEdit.SurroundWith #0Global::Ctrl+K, Ctrl+SEdit.SurroundWith #1Global::Ctrl+K, SEdit.SwapAnchor #0Text Editor::Ctrl+K, Ctrl+AEdit.SwapAnchor #1Text Editor::Ctrl+E, AEdit.SwapAnchor #2Text Editor::Ctrl+E, Ctrl+AEdit.TabLeft #0Windows Forms Designer::Shift+TabEdit.TabLeft #1Text Editor::Shift+TabEdit.TabLeft #2Report Designer::Shift+TabEdit.ToggleAllOutlining #0Text Editor::Ctrl+M, Ctrl+LEdit.ToggleAllOutlining #1Text Editor::Ctrl+M, LEdit.ToggleBookmark #0Text Editor::Ctrl+K, Ctrl+KEdit.ToggleBookmark #1Text Editor::Ctrl+B, TEdit.ToggleBookmark #2Text Editor::Ctrl+B, Ctrl+TEdit.ToggleOutliningExpansion #0Text Editor::Ctrl+M, Ctrl+MEdit.ToggleOutliningExpansion #1Text Editor::Ctrl+M, MEdit.ToggleTaskListShortcut #0Text Editor::Ctrl+K, Ctrl+HEdit.ToggleTaskListShortcut #1Text Editor::Ctrl+E, TEdit.ToggleTaskListShortcut #2Text Editor::Ctrl+E, Ctrl+TEdit.ToggleWordWrap #0Text Editor::Ctrl+E, Ctrl+WEdit.ToggleWordWrap #1Text Editor::Ctrl+E, WEdit.UncommentSelection #0Text Editor::Ctrl+K, Ctrl+UEdit.UncommentSelection #1Text Editor::Ctrl+E, UEdit.UncommentSelection #2Text Editor::Ctrl+E, Ctrl+UEdit.Undo #0Global::Ctrl+ZEdit.Undo #1Global::Alt+BkspceEdit.UpdateJScriptIntellisenseHTML Editor Source View::Ctrl+Shift+JEdit.ViewBottomText Editor::Ctrl+PgDnEdit.ViewBottomExtendText Editor::Ctrl+Shift+PgDnEdit.ViewTopText Editor::Ctrl+PgUpEdit.ViewTopExtendText Editor::Ctrl+Shift+PgUpEdit.ViewWhiteSpace #0Text Editor::Ctrl+R, Ctrl+WEdit.ViewWhiteSpace #1Text Editor::Ctrl+E, SEdit.ViewWhiteSpace #2Text Editor::Ctrl+E, Ctrl+SEdit.WordDeleteToEndText Editor::Ctrl+DelEdit.WordDeleteToStartText Editor::Ctrl+BkspceEdit.WordNextText Editor::Ctrl+Right ArrowEdit.WordNextExtendText Editor::Ctrl+Shift+Right ArrowEdit.WordNextExtendColumnText Editor::Ctrl+Shift+Alt+Right ArrowEdit.WordPreviousText Editor::Ctrl+Left ArrowEdit.WordPreviousExtendText Editor::Ctrl+Shift+Left ArrowEdit.WordPreviousExtendColumnText Editor::Ctrl+Shift+Alt+Left ArrowEdit.WordTransposeText Editor::Ctrl+Shift+TEditorContextMenus.CodeWindow.RunSelectionGlobal::Ctrl+QFile.NewFileGlobal::Ctrl+NFile.NewProjectGlobal::Ctrl+Shift+NFile.OpenFileGlobal::Ctrl+OFile.OpenProjectGlobal::Ctrl+Shift+OFile.PrintGlobal::Ctrl+PFile.SaveAllGlobal::Ctrl+Shift+SFile.SaveSelectedItemsGlobal::Ctrl+SFormat.AlignBottomsVC Dialog Editor::Ctrl+Shift+Down ArrowFormat.AlignCentersVC Dialog Editor::Shift+F9Format.AlignLeftsVC Dialog Editor::Ctrl+Shift+Left ArrowFormat.AlignMiddlesVC Dialog Editor::F9Format.AlignRightsVC Dialog Editor::Ctrl+Shift+Right ArrowFormat.AlignTopsVC Dialog Editor::Ctrl+Shift+Up ArrowFormat.BoldHTML Editor Design View::Ctrl+BFormat.ButtonBottomVC Dialog Editor::Ctrl+BFormat.ButtonRightVC Dialog Editor::Ctrl+RFormat.CenterHorizontalVC Dialog Editor::Ctrl+Shift+F9Format.CenterVerticalVC Dialog Editor::Ctrl+F9Format.CheckMnemonicsVC Dialog Editor::Ctrl+MFormat.ConverttoHyperlinkHTML Editor Design View::Ctrl+LFormat.InsertBookmarkHTML Editor Design View::Ctrl+Shift+LFormat.ItalicHTML Editor Design View::Ctrl+IFormat.SizetoContentVC Dialog Editor::Shift+F7Format.SpaceAcross #0VC Dialog Editor::Alt+Left ArrowFormat.SpaceAcross #1VC Dialog Editor::Alt+Right ArrowFormat.SpaceDown #0VC Dialog Editor::Alt+Down ArrowFormat.SpaceDown #1VC Dialog Editor::Alt+Up ArrowFormat.TabOrderVC Dialog Editor::Ctrl+DFormat.TestDialogVC Dialog Editor::Ctrl+TFormat.ToggleGuidesVC Dialog Editor::Ctrl+GFormat.UnderlineHTML Editor Design View::Ctrl+UHelp.Contents #0Global::Ctrl+Alt+F1Help.Contents #1Global::Ctrl+F1, CHelp.Contents #2Global::Ctrl+F1, Ctrl+CHelp.DynamicHelp #0Global::Ctrl+F1, DHelp.DynamicHelp #1Global::Ctrl+F1, Ctrl+DHelp.F1HelpGlobal::F1Help.HelpFavorites #0Global::Ctrl+F1, FHelp.HelpFavorites #1Global::Ctrl+F1, Ctrl+FHelp.HowDoI #0Global::Ctrl+F1, HHelp.HowDoI #1Global::Ctrl+F1, Ctrl+HHelp.Index #0Global::Ctrl+Alt+F2Help.Index #1Global::Ctrl+F1, IHelp.Index #2Global::Ctrl+F1, Ctrl+IHelp.IndexResults #0Global::Ctrl+F1, THelp.IndexResults #1Global::Ctrl+F1, Ctrl+THelp.NexttopicWebBrowser::Alt+Down ArrowHelp.PrevioustopicWebBrowser::Alt+Up ArrowHelp.Search #0Global::Ctrl+Alt+F3Help.Search #1Global::Ctrl+F1, SHelp.Search #2Global::Ctrl+F1, Ctrl+SHelp.SearchResults #0Global::Shift+Alt+F3Help.SearchResults #1Global::Ctrl+F1, RHelp.SearchResults #2Global::Ctrl+F1, Ctrl+RHelp.WindowHelpGlobal::Shift+F1Image.AirbrushToolVC Image Editor::Ctrl+AImage.BrushToolVC Image Editor::Ctrl+BImage.CopyandOutlineSelectionVC Image Editor::Ctrl+Shift+UImage.DrawOpaqueVC Image Editor::Ctrl+JImage.EllipseToolVC Image Editor::Alt+PImage.EraseToolVC Image Editor::Ctrl+Shift+IImage.FilledEllipseToolVC Image Editor::Ctrl+Shift+Alt+PImage.FilledRectangleToolVC Image Editor::Ctrl+Shift+Alt+RImage.FilledRoundedRectangleToolVC Image Editor::Ctrl+Shift+Alt+WImage.FillToolVC Image Editor::Ctrl+FImage.FlipHorizontalVC Image Editor::Ctrl+HImage.FlipVerticalVC Image Editor::Shift+Alt+HImage.LargerBrushVC Image Editor::Ctrl+=Image.LineToolVC Image Editor::Ctrl+LImage.MagnificationToolVC Image Editor::Ctrl+MImage.MagnifyVC Image Editor::Ctrl+Shift+MImage.NewImageTypeVC Image Editor::InsImage.NextColor #0VC Image Editor::Ctrl+Right ArrowImage.NextColor #1VC Image Editor::Ctrl+]Image.NextRightColor #0VC Image Editor::Ctrl+Shift+Right ArrowImage.NextRightColor #1VC Image Editor::Ctrl+Shift+]Image.OutlinedEllipseToolVC Image Editor::Shift+Alt+PImage.OutlinedRectangleToolVC Image Editor::Shift+Alt+RImage.OutlinedRoundedRectangleToolVC Image Editor::Shift+Alt+WImage.PencilToolVC Image Editor::Ctrl+IImage.PreviousColor #0VC Image Editor::Ctrl+Left ArrowImage.PreviousColor #1VC Image Editor::Ctrl+[Image.PreviousRightColor #0VC Image Editor::Ctrl+Shift+Left ArrowImage.PreviousRightColor #1VC Image Editor::Ctrl+Shift+[Image.RectangleSelectionToolVC Image Editor::Shift+Alt+SImage.RectangleToolVC Image Editor::Alt+RImage.Rotate90DegreesVC Image Editor::Ctrl+Shift+HImage.RoundedRectangleToolVC Image Editor::Alt+WImage.ShowGridVC Image Editor::Ctrl+Alt+SImage.ShowTileGridVC Image Editor::Ctrl+Shift+Alt+SImage.SmallBrushVC Image Editor::Ctrl+.Image.SmallerBrushVC Image Editor::Ctrl+-Image.TextToolVC Image Editor::Ctrl+TImage.UseSelectionasBrushVC Image Editor::Ctrl+UImage.ZoomIn #0VC Image Editor::Ctrl+Up ArrowImage.ZoomIn #1VC Image Editor::Ctrl+Shift+.Image.ZoomOut #0VC Image Editor::Ctrl+Down ArrowImage.ZoomOut #1VC Image Editor::Ctrl+Shift+,OtherContextMenus.ORDesignerContextMenu.HideMethodsPaneVisualStudio::Ctrl+1Project.AddClassGlobal::Shift+Alt+CProject.AddContentPageHTML Editor Design View::Ctrl+M, Ctrl+CProject.AddExistingItemGlobal::Shift+Alt+AProject.AddNewItemGlobal::Ctrl+Shift+AProject.OverrideGlobal::Ctrl+Alt+InsQueryDesigner.CancelRetrievingData #0Query Designer::Ctrl+TQueryDesigner.CancelRetrievingData #1View Designer::Ctrl+TQueryDesigner.Criteria #0Query Designer::Ctrl+2QueryDesigner.Criteria #1View Designer::Ctrl+2QueryDesigner.Diagram #0Query Designer::Ctrl+1QueryDesigner.Diagram #1View Designer::Ctrl+1QueryDesigner.ExecuteSQL #0Query Designer::Ctrl+RQueryDesigner.ExecuteSQL #1View Designer::Ctrl+RQueryDesigner.GotoRow #0Query Designer::Ctrl+GQueryDesigner.GotoRow #1View Designer::Ctrl+GQueryDesigner.JoinMode #0Query Designer::Ctrl+Shift+JQueryDesigner.JoinMode #1View Designer::Ctrl+Shift+JQueryDesigner.Results #0Query Designer::Ctrl+4QueryDesigner.Results #1View Designer::Ctrl+4QueryDesigner.SQL #0Query Designer::Ctrl+3QueryDesigner.SQL #1View Designer::Ctrl+3Refactor.EncapsulateField #0Global::Ctrl+R, Ctrl+ERefactor.EncapsulateField #1Global::Ctrl+R, ERefactor.ExtractInterface #0Global::Ctrl+R, Ctrl+IRefactor.ExtractInterface #1Global::Ctrl+R, IRefactor.ExtractMethod #0Global::Ctrl+R, Ctrl+MRefactor.ExtractMethod #1Global::Ctrl+R, MRefactor.PromoteLocalVariable #0Global::Ctrl+R, Ctrl+PRefactor.PromoteLocalVariable #1Global::Ctrl+R, PRefactor.RemoveParameters #0Global::Ctrl+R, Ctrl+VRefactor.RemoveParameters #1Global::Ctrl+R, VRefactor.Rename #0Global::Ctrl+R, Ctrl+RRefactor.Rename #1Global::Ctrl+R, RRefactor.Rename #2Text Editor::F2Refactor.ReorderParameters #0Global::Ctrl+R, Ctrl+ORefactor.ReorderParameters #1Global::Ctrl+R, OResources.AudioManaged Resources Editor::Ctrl+4Resources.FilesManaged Resources Editor::Ctrl+5Resources.IconsManaged Resources Editor::Ctrl+3Resources.ImagesManaged Resources Editor::Ctrl+2Resources.OtherManaged Resources Editor::Ctrl+6Resources.StringsManaged Resources Editor::Ctrl+1Table.ColumntotheLeftHTML Editor Design View::Ctrl+Alt+Left ArrowTable.ColumntotheRightHTML Editor Design View::Ctrl+Alt+Right ArrowTable.RowAboveHTML Editor Design View::Ctrl+Alt+Up ArrowTable.RowBelowHTML Editor Design View::Ctrl+Alt+Down ArrowTest.DebugAllTestsInSolutionGlobal::Ctrl+R, Ctrl+ATest.DebugTestsInClassGlobal::Ctrl+R, Ctrl+CTest.DebugTestsInCurrentContextGlobal::Ctrl+R, Ctrl+TTest.DebugTestsInNamespaceGlobal::Ctrl+R, Ctrl+NTest.RunAllTestsInSolutionGlobal::Ctrl+R, ATest.RunTestsInClassGlobal::Ctrl+R, CTest.RunTestsInCurrentContextGlobal::Ctrl+R, TTest.RunTestsInNamespaceGlobal::Ctrl+R, NTest.TestResults.RunCheckedTestsGlobal::Ctrl+R, FTestResults.DebugAllTestsInTestResultsGlobal::Ctrl+R, Ctrl+DTestResults.DebugCheckedTestsGlobal::Ctrl+R, Ctrl+FTestResults.RunAllTestsInTestResultsGlobal::Ctrl+R, DTools.AttachtoProcessGlobal::Ctrl+Alt+PTools.CodeSnippetsManagerGlobal::Ctrl+K, Ctrl+BTools.MacrosIDEGlobal::Alt+F11Tools.RecordTemporaryMacroGlobal::Ctrl+Shift+RTools.RunTemporaryMacroGlobal::Ctrl+Shift+PView.ASP.NETNonvisualControlsHTML Editor Design View::Ctrl+Shift+NView.AutoCloseTagOverrideHTML Editor Source View::Ctrl+Shift+.View.BackwardGlobal::Alt+Left ArrowView.BookmarkWindow #0Global::Ctrl+K, Ctrl+WView.BookmarkWindow #1Global::Ctrl+W, BView.BookmarkWindow #2Global::Ctrl+W, Ctrl+BView.BrowseNextGlobal::Ctrl+Shift+1View.BrowsePreviousGlobal::Ctrl+Shift+2View.ClassView #0Global::Ctrl+Shift+CView.ClassView #1Global::Ctrl+W, CView.ClassView #2Global::Ctrl+W, Ctrl+CView.ClassViewGoToSearchComboGlobal::Ctrl+K, Ctrl+VView.CodeDefinitionWindow #0Global::Ctrl+\, Ctrl+DView.CodeDefinitionWindow #1Global::Ctrl+\, DView.CodeDefinitionWindow #2Global::Ctrl+W, DView.CodeDefinitionWindow #3Global::Ctrl+W, Ctrl+DView.CommandWindow #0Global::Ctrl+Alt+AView.CommandWindow #1Global::Ctrl+W, AView.CommandWindow #2Global::Ctrl+W, Ctrl+AView.DatasetsReport Designer::Ctrl+Alt+DView.DocumentOutline #0Global::Ctrl+Alt+TView.DocumentOutline #1Global::Ctrl+W, UView.DocumentOutline #2Global::Ctrl+W, Ctrl+UView.EditLabelGlobal::F2View.EditMasterHTML Editor Design View::Ctrl+M, Ctrl+MView.ErrorList #0Global::Ctrl+\, Ctrl+EView.ErrorList #1Global::Ctrl+\, EView.ErrorList #2Global::Ctrl+W, EView.ErrorList #3Global::Ctrl+W, Ctrl+EView.FindSymbolResults #0Global::Ctrl+Alt+F12View.FindSymbolResults #1Global::Ctrl+W, QView.FindSymbolResults #2Global::Ctrl+W, Ctrl+QView.ForwardGlobal::Alt+Right ArrowView.ForwardBrowseContextGlobal::Ctrl+Shift+7View.FullScreenGlobal::Shift+Alt+EnterView.MacroExplorerGlobal::Alt+F8View.NavigateBackwardGlobal::Ctrl+-View.NavigateForwardGlobal::Ctrl+Shift+-View.NextErrorGlobal::Ctrl+Shift+F12View.NextView #0HTML Editor Design View::Ctrl+PgDnView.NextView #1HTML Editor Source View::Ctrl+PgDnView.ObjectBrowser #0Global::Ctrl+Alt+JView.ObjectBrowser #1Global::Ctrl+W, JView.ObjectBrowser #2Global::Ctrl+W, Ctrl+JView.Output #0Global::Ctrl+Alt+OView.Output #1Global::Ctrl+W, OView.Output #2Global::Ctrl+W, Ctrl+OView.PendingCheckins #0Global::Ctrl+W, GView.PendingCheckins #1Global::Ctrl+W, Ctrl+GView.PopBrowseContextGlobal::Ctrl+Shift+8View.PropertiesWindow #0Global::F4View.PropertiesWindow #1Global::Ctrl+W, PView.PropertiesWindow #2Global::Ctrl+W, Ctrl+PView.PropertyPagesGlobal::Shift+F4View.ResourceView #0Global::Ctrl+Shift+EView.ResourceView #1Global::Ctrl+W, RView.ResourceView #2Global::Ctrl+W, Ctrl+RView.ServerExplorer #0Global::Ctrl+Alt+SView.ServerExplorer #1Global::Ctrl+W, LView.ServerExplorer #2Global::Ctrl+W, Ctrl+LView.ShowSmartTag #0Global::Shift+Alt+F10View.ShowSmartTag #1HTML Editor Design View::Shift+Alt+F10View.ShowSmartTag #2Global::Ctrl+.View.SolutionExplorer #0Global::Ctrl+Alt+LView.SolutionExplorer #1Global::Ctrl+W, SView.SolutionExplorer #2Global::Ctrl+W, Ctrl+SView.SynchronizeViewsHTML Editor Source View::Ctrl+Shift+YView.TaskList #0Global::Ctrl+\, Ctrl+TView.TaskList #1Global::Ctrl+\, TView.TaskList #2Global::Ctrl+W, TView.TaskList #3Global::Ctrl+W, Ctrl+TView.Toolbox #0Global::Ctrl+Alt+XView.Toolbox #1Global::Ctrl+W, XView.Toolbox #2Global::Ctrl+W, Ctrl+XView.ViewCode #0Settings Designer::F7View.ViewCode #1Class Diagram::EnterView.ViewCode #2Global::F7View.ViewDesigner #0HTML Editor Source View::Shift+F7View.ViewDesigner #1Global::Shift+F7View.WebBrowser #0Global::Ctrl+Alt+RView.WebBrowser #1Global::Ctrl+W, WView.WebBrowser #2Global::Ctrl+W, Ctrl+WVMDebugger.Connect.AttachDebugGlobal::Ctrl+Shift+Alt+F6VMDebugger.Connect.CancelDebugGlobal::Shift+F6VMDebugger.Connect.ConfigureGlobal::Ctrl+Alt+CVMDebugger.Connect.RecordGlobal::Ctrl+F8VMDebugger.Connect.ReplayGlobal::Ctrl+Alt+F8VMDebugger.Connect.ReplayAttachGlobal::Ctrl+Shift+Alt+F8VMDebugger.Connect.RestartDebugGlobal::Ctrl+Shift+F6VMDebugger.Connect.ReverseContinueGlobal::Shift+F8VMDebugger.Connect.ReverseRunToCursorGlobal::Ctrl+Shift+F8VMDebugger.Connect.StartDebugGlobal::Ctrl+Alt+F6VMDebugger.Connect.StartNoDebugGlobal::Ctrl+F6VMDebugger.Connect.TakeSnapshotGlobal::Ctrl+Shift+F10Window.ActivateDocumentWindowGlobal::EscWindow.CloseDocumentWindowGlobal::Ctrl+F4Window.CloseToolWindowGlobal::Shift+EscWindow.MovetoNavigationBarGlobal::Ctrl+F2Window.NextDocumentWindowNavGlobal::Ctrl+TabWindow.NextPaneGlobal::Alt+F6Window.NextTabGlobal::Ctrl+PgDnWindow.NextToolWindowNavGlobal::Alt+F7Window.PreviousDocumentWindowNavGlobal::Ctrl+Shift+TabWindow.PreviousPaneGlobal::Shift+Alt+F6Window.PreviousTab #0Global::Ctrl+PgUpWindow.PreviousTab #1HTML Editor Design View::Ctrl+PgUpWindow.PreviousTab #2HTML Editor Source View::Ctrl+PgUpWindow.PreviousToolWindowNavGlobal::Shift+Alt+F7Window.ShowEzMDIFileListGlobal::Ctrl+Alt+Down Arrow//z 2012-11-29 11:24:18 IS2120@BG57IV3.T4196729265.K[T39,L363,R14,V344] VS 2008 快捷键 VISUAL STUDIO 2008You 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 arehighlighted.

General

ShortcutDescriptionCtrl-X or
Shift-Delete
Cuts the currently selected item to the clipboardCtrl-C or
Ctrl-Insert
Copies the currently selected item to the clipboardCtrl-V or
Shift-Insert
Pastes the item in the clipboard at the cursorCtrl-Z or
Alt-Backspace
Undo previous editing actionCtrl-Y or
Ctrl-Shift-Z
Redo the previous undo actionCtrl-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 repeatedlyEsc
Closes a menu or dialog, cancels an operation in progress, or places focus in the current document windowCtrl-S
Saves the selected files in the current project (usually the file that is being edited)Ctrl-Shift-S
Saves all documents and projectsCtrl-P
Displays the Print dialogF7
Switches from the design view to the code view in the editorShift-F7
Switches from the code view to the design view in the editorF8
Moves the cursor to the next item, for example in the TaskList window or Find Results windowShift-F8
Moves the cursor to the previous item, for example in the TaskList window or Find Results windowShift-F12
Finds a reference to the selected item or the item under the cursorCtrl-Shift-G
Opens the file whose name is under the cursor or is currently selectedCtrl-/
Switches focus to the Find/Command box on the Standard toolbarCtrl-Shift-F12
Moves to the next task in the TaskList windowCtrl-Shift-8
Moves backward in the browse history. Available in the object browser or Class View windowAlt-Left Arrow
Go back in the web browser historyAlt-Right Arrow
Go forward in the web browser history

Text navigation

ShortcutDescriptionLeft Arrow
Moves the cursor one character to the leftRight Arrow
Moves the cursor one character to the rightDown Arrow
Moves the cursor down one lineUp Arrow
Moves the cursor up one linePage Down
Scrolls down one screen in the editor windowPage Up
Scrolls up one screen in the editor windowEnd
Moves the cursor to the end of the current lineHome
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 lineCtrl-End
Moves the cursor to the end of the documentCtrl-Home
Moves the cursor to the start of the documentCtrl-G
Displays the Go to Line dialog. If the debugger is running, the dialog also lets you specify addresses or function names to go toCtrl-]
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 versaCtrl-K, Ctrl-N
Moves to the next bookmark in the documentCtrl-K, Ctrl-P
Moves to the previous bookmarkCtrl-K, Ctrl-I
Displays Quick Info, based on the current languageCtrl-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 editorsCtrl-Up Arrow
Scrolls text up one line but does not move the cursor. Available only in text editorsCtrl-Right Arrow
Moves the cursor one word to the rightCtrl-Left Arrow
Moves the cursor one word to the leftCtrl-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) shortcutCtrl-Shift-2
Navigates to the previous definition, declaration, or reference of an item

ext manipulation

ShortcutDescriptionEnter
Inserts a new lineDelete
Deletes one character to the right of the cursorInsert
Toggles between insert and overtype insertion modesTab
Indents the currently selected line or lines by one tab stop. If there is no selection, this inserts a tab stopShift-Tab
Moves current line or selected lines one tab stop to the leftBackspace or
Shift-Backspace
Deletes one character to the left of the cursorCtrl-K, Ctrl-C
Marks the current line or selected lines of code as a comment, using the correct comment syntax for the programming languageCtrl-K, Ctrl-U
Removes the comment syntax from the current line or currently selected lines of codeCtrl-T or
Shift-Enter
Swaps the characters on either side of the cursor. (For example, AC|BD becomes AB|CD.) Available only in text editorsCtrl-K, Ctrl-L
Removes all unnamed bookmarks in the current documentCtrl-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 documentAlt-Right Arrow or
Ctrl-Spacebar
Displays statement completion based on the current language or autocompletes word if existing text unambiguously identifies a single symbolCtrl-K, Ctrl-\
Removes horizontal whitespace in the selection or deletes whitespace adjacent to the cursor if there is no selectionCtrl-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 clipboardCtrl-Shift-L
Deletes all selected lines or the current line if no selection has been madeCtrl-Enter
Inserts a blank line above the cursorCtrl-Shift-Enter
Inserts a blank line below the cursorShift-Alt-T
Moves the line containing the cursor below the next lineCtrl-J
Lists members for statement completion when editing codeCtrl-U
Changes the selected text to lowercase charactersCtrl-Shift-UChanges the selected text to uppercase charactersCtrl-Shift-Spacebar
Displays a tooltip that contains information for the current parameter, based on the current languageCtrl-M, Ctrl-U
Removes the outlining information for the currently selected regionCtrl-M, Ctrl-P
Removes all outlining information from the entire documentCtrl-R, Ctrl-P
Swaps the anchor and endpoint of the current selectionCtrl-M, Ctrl-L
Toggles all previously marked hidden text sections between hidden and display statesCtrl-K, Ctrl-K
Sets or removes a bookmark at the current lineCtrl-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 statesCtrl-K, Ctrl-H
Sets or removes a shortcut in the tasklist to the current lineCtrl-R, Ctrl-R
Enables or disables word wrap in an editorCtrl-R, Ctrl-W
Shows or hides spaces and tab marksCtrl-Delete
Deletes the word to the right of the cursorCtrl-Backspace
Deletes the word to the left of the cursorCtrl-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

ShortcutDescriptionShift-Left Arrow
Moves the cursor to the left one character, extending the selectionShift-Alt-Left Arrow
Moves the cursor to the left one character, extending the column selectionShift-Right Arrow
Moves the cursor to the right one character, extending the selectionShift-Alt-Right Arrow
Moves the cursor to the right one character, extending the column selectionCtrl-Shift-End
Moves the cursor to the end of the document, extending the selectionCtrl-Shift-Home
Moves the cursor to the start of the document, extending the selectionCtrl-Shift-]
Moves the cursor to the next brace, extending the selectionShift-Down Arrow
Moves the cursor down one line, extending the selectionShift-Alt-Down Arrow
Moves the cursor down one line, extending the column selectionShift-End
Moves the cursor to the end of the current line, extending the selectionShift-Alt-End
Moves the cursor to the end of the line, extending the column selectionShift-Home
Moves the cursor to the start of the line, extending the selectionShift-Alt-Home
Moves the cursor to the start of the line, extending the column selectionShift-Up Arrow
Moves the cursor up one line, extending the selectionShift-Alt-Up Arrow
Moves the cursor up one line, extending the column selectionShift-Page Down
Extends selection down one pageShift-Page Up
Extends selection up one pageCtrl-A
Selects everything in the current documentCtrl-W
Selects the word containing the cursor or the word to the right of the cursorCtrl-=
Selects from the current location in the editor back to the previous location in the navigation historyCtrl-Shift-Page Down
Moves the cursor to the last line in view, extending the selectionCtrl-Shift-Page Up
Moves the cursor to the top of the current window, extending the selectionCtrl-Shift-Alt-Right Arrow
Moves the cursor to the right one word, extending the column selectionCtrl-Shift-Left Arrow
Moves the cursor one word to the left, extending the selectionCtrl-Shift-Alt-Left Arrow
Moves the cursor to the left one word, extending the column selection

Project related

ShortcutDescriptionCtrl-Shift-B
Builds the solutionCtrl-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 projectCtrl-Shift-N
Displays the New Project dialogCtrl-O
Displays the Open File dialogCtrl-Shift-O
Displays the Open Project dialogShift-Alt-A
Displays the Add Existing Item dialogCtrl-Shift-A
Displays the Add New Item dialogCtrl-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

ShortcutDescriptionShift-Alt-Enter
Toggles full screen modeCtrl-+
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 operationCtrl-F4
Closes the current MDI child windowShift-Esc
Closes the current tool windowCtrl-F2
Moves the cursor to the navigation bar at the top of a code viewCtrl-Tab
Cycles through the MDI child windows one window at a timeCtrl-F6,
Ctrl-Shift-Tab
Moves to the previous MDI child windowAlt-F6,
Ctrl-Shift-F6
Moves to the next tool windowShift-Alt-F6
Moves to the previously selected windowF6
Moves to the next pane of a split pane view of a single documentShift-F6
Moves to the previous pane of a document in split pane viewCtrl-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 viewCtrl-PageUp
Moves to the previous tab in the document or window

Control editor (designer)

ShortcutDescriptionCtrl-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 surfaceCtrl-Left Arrow
Moves the control to the left in increments of one on the design surfaceLeft Arrow
Moves the control to the left to the next grid position on the design surfaceCtrl-Right Arrow
Moves the control to the right in increments of one on the design surfaceRight Arrow
Moves the control to the right into the next grid position on the design surfaceCtrl-Up Arrow
Moves the control up in increments of one on the design surfaceUp Arrow
Moves the control up into the next grid position on the design surfaceTab
Moves to the next control in the tab orderShift-Tab
Moves to the previous control in the tab orderCtrl-Shift-Down Arrow
Increases the height of the control in increments of one on the design surfaceShift-Down Arrow
Increases the height of the control to the next grid position on the design surfaceCtrl-Shift-Left Arrow
Reduces the width of the control in increments of one on the design surfaceShift-Left Arrow
Reduces the width of the control to the next grid position on the design surfaceCtrl-Shift-Right Arrow
Increases the width of the control in increments of one on the design surfaceShift-Left Arrow
Increases the width of the control to the next grid position on the design surfaceCtrl-Shift-Up Arrow
Decreases the height of the control in increments of one on the design surfaceShift-Up Arrow
Decreases the height of the control to the next grid position on the design surfaceShortcutDescriptionCtrl-F
Displays the Find dialogCtrl-Shift-F
Displays the Find in Files dialogF3
Finds the next occurrence of the previous search textCtrl-F3
Finds the next occurrence of the currently selected text or the word under the cursor if there is no selectionShift-F3
Finds the previous occurrence of the search textCtrl-Shift-F3
Finds the previous occurrence of the currently selected text or the word under the cursorCtrl-D
Places the cursor in the Find/Command line on the Standard toolbarAlt-F3, H
Selects or clears the Search Hidden Text option for the Find dialogCtrl-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 operationsAlt-F3, R
Selects or clears the Regular Expression option so that special characters can be used in Find and Replace operationsCtrl-H
Displays the Replace dialogCtrl-Shift-H
Displays the Replace in Files dialogCtrl-Shift-I
Performs an incremental search in reverse directionAlt-F3, S
Halts the current Find in Files operationAlt-F3, B
Selects or clears the Search Up option for Find and Replace operationsAlt-F3, W
Selects or clears the Match Whole Word option for Find and Replace operationsAlt-F3, P
Selects or clears the Wildcard option for Find and Replace operations

Help

ShortcutDescriptionCtrl-Alt-F1
Displays the Contents window for the documentationCtrl-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 cursorF1
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 cursorCtrl-Alt-F2
Displays the Help Index windowShift-Alt-F2
Displays the Index Results window, which lists the topics that contain the keyword selected in the Index windowAlt-Down Arrow
Displays the next topic in the table of contents. Available only in the Help browser windowAlt-Up Arrow
Displays the previous topic in the table of contents. Available only in the Help browser windowCtrl-Alt-F3
Displays the Search window, which allows you to search for words or phrases in the documentationShift-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

ShortcutDescriptionCtrl-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 procedureCtrl-Alt-Break
Temporarily stops execution of all processes in a debugging session. Available only in run modeCtrl-Alt-B
Displays the Breakpoints dialog, where you can add and modify breakpointsCtrl-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 modeCtrl-Shift-F9
Clears all of the breakpoints in the projectCtrl-Alt-D
Displays the Disassembly windowCtrl-F9
Enables or disables the breakpoint on the current line of code. The line must already have a breakpoint for this to workCtrl-Alt-E
Displays the Exceptions dialogCtrl-Alt-I
Displays the Immediate window, where you can evaluate expressions and execute individual commandsCtrl-Alt-V, L
Displays the Locals window to view the variables and their values for the currently selected procedure in the stack frameCtrl-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 windowCtrl-Alt-M, 2
Displays the Memory 2 windowCtrl-Alt-M, 3
Displays the Memory 3 windowCtrl-Alt-M, 4
Displays the Memory 4 windowCtrl-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 programsCtrl-B
Opens the New Breakpoint dialogCtrl-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 expressionCtrl-Alt-G
Displays the Registers window, which displays CPU register contentsCtrl-Shift-F5
Terminates the current debugging session, rebuilds if necessary, and then starts a new debugging session. Available in break and run modesCtrl-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 modesCtrl-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 runningCtrl-Shift-F10
Sets the execution point to the line of code you chooseAlt-NUM *
Highlights the next statement to be executedF5
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 finishesF11
Executes code one statement at a time, tracing execution into function callsShift-F11
Executes the remaining lines of a function in which the current execution point liesF10
Executes the next line of code but does not step into any function callsShift-F5
Available in break and run modes, this terminates the debugging sessionCtrl-Alt-V, T
Displays the This window, which allows you to view the data members of the object associated with the current methodCtrl-Alt-H
Displays the Threads window to view all of the threads for the current processF9
Sets or removes a breakpoint at the current lineCtrl-F11
Displays the disassembly information for the current source file. Available only in break modeCtrl-Alt-W, 1
Displays the Watch 1 window to view the values of variables or watch expressionsCtrl-Alt-W, 2
Displays the Watch 2 windowCtrl-Alt-W, 3
Displays the Watch 3 windowCtrl-Alt-W, 4
Displays the Watch 4 windowCtrl-Alt-P
Displays the Processes dialog, which allows you to attach or detach the debugger to one or more running processes

Object browser

ShortcutDescriptionAlt-F12
Displays the Find Symbol dialogCtrl-F12
Displays the declaration of the selected symbol in the codeF12
Displays the definition for the selected symbol in codeCtrl-Alt-F12
Displays the Find Symbol Results windowCtrl-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 projectAlt-+
Moves back to the previously selected object in the selection history of the object browserShift-Alt-+
Moves forward to the next object in the selection history of the object browser

Tool window

ShortcutDescriptionCtrl-Shift-M
Toggles the Command window into or out of a mode allowing text within the window to be selectedCtrl-Shift-C
Displays the Class View windowCtrl-Alt-A
Displays the Command window, which allows you to type commands that manipulate the IDECtrl-Alt-T
Displays the Document Outline window to view the flat or hierarchical outline of the current documentCtrl-Alt-F
Displays the Favorites window, which lists shortcuts to web pagesCtrl-Alt-O
Displays the Output window to view status messages at runtimeF4
Displays the Properties window, which lists the design-time properties and events for the currently selected itemShift-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 windowCtrl-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 servicesCtrl-Alt-R
Displays the web browser window, which allows you to view pages on the InternetCtrl-Alt-L
Displays the Solution Explorer, which lists the projects and files in the current solutionCtrl-Alt-K
Displays the TaskList window, which displays tasks, comments, shortcuts, warnings, and error messagesCtrl-Alt-X
Displays the Toolbox, which contains controls and other items that can be dragged into editor and designer windows

Html editor (Design View)

ShortcutDescriptionCtrl-B
Toggles the selected text between bold and normalCtrl-Shift-T
Decreases the selected paragraph by one indent unitCtrl-T
Indents the selected paragraph by one indent unitCtrl-I
Toggles the selected text between italic and normalCtrl-Shift-K
Prevents an absolutely positioned element from being inadvertently moved. If the element is already locked, this unlocks itCtrl-G
Toggles the gridCtrl-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 documentCtrl-U
Toggles the selected text between underlined and normalCtrl-Shift-L
Displays the Bookmark dialogCtrl-J
Inserts <div></div> in the current HTML documentCtrl-L
When text is selected, displays the Hyperlink dialogCtrl-Shift-W
Displays the Insert Image dialogCtrl-Alt-Up Arrow
Adds one row above the current row in the tableCtrl-Alt-Down Arrow
Adds one row below the current row in the tableCtrl-Alt-Left Arrow
Adds one column to the left of the current column in the tableCtrl-Alt-Right Arrow
Adds one column to the right of the current column in the tableCtrl-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 elementsCtrl-Page Down
Switches from design view to HTML view and vice versaCtrl-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

ShortcutDescriptionAlt-F8
Displays the Macro Explorer window, which lists all available macrosAlt-F11
Launches the macros IDECtrl-Shift-R
Places the environment in macro record mode or completes recording if already in record modeCtrl-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

XML Shecme Designer

Command

Description

All Keyboard Schemes

OtherContextMenus.GraphView.RemovefromWorkspace

Removes the selected item from the workspace.

DELETE

XsdDesigner.ShowContentModelView

Displays the current XML schema in Content ModelView.

CTRL+2

XsdDesigner.ShowGraphView

Displays the current XML schema in Graph View.

CTRL+3

XsdDesigner.ShowStartView

Displays the current XML schema in Start View.

CTRL+1


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 Text navigation Text manipulation Text selection Project related Window manipulation Control editor (designer) Search and replace Help Debugging Object browser Tool window Html designer Macro 



General

ShortcutDescriptionCtrl-X or
Shift-Delete
Cuts the currently selected item to the clipboardCtrl-C or
Ctrl-Insert
Copies the currently selected item to the clipboardCtrl-V or
Shift-Insert
Pastes the item in the clipboard at the cursorCtrl-Z or
Alt-Backspace
Undo previous editing actionCtrl-Y or
Ctrl-Shift-Z
Redo the previous undo actionCtrl-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 repeatedlyEsc 
Closes a menu or dialog, cancels an operation in progress, or places focus in the current document windowCtrl-S 
Saves the selected files in the current project (usually the file that is being edited)Ctrl-Shift-S 
Saves all documents and projectsCtrl-P
Displays the Print dialogF7
Switches from the design view to the code view in the editorShift-F7
Switches from the code view to the design view in the editorF8
Moves the cursor to the next item, for example in the TaskList window or Find Results windowShift-F8
Moves the cursor to the previous item, for example in the TaskList window or Find Results windowShift-F12 
Finds a reference to the selected item or the item under the cursorCtrl-Shift-G
Opens the file whose name is under the cursor or is currently selectedCtrl-/
Switches focus to the Find/Command box on the Standard toolbarCtrl-Shift-F12
Moves to the next task in the TaskList windowCtrl-Shift-8
Moves backward in the browse history. Available in the object browser or Class View windowAlt-Left Arrow
Go back in the web browser historyAlt-Right Arrow
Go forward in the web browser history

return to top



Text navigation

ShortcutDescriptionLeft Arrow 
Moves the cursor one character to the leftRight Arrow 
Moves the cursor one character to the rightDown Arrow 
Moves the cursor down one lineUp Arrow 
Moves the cursor up one linePage Down 
Scrolls down one screen in the editor windowPage Up 
Scrolls up one screen in the editor windowEnd 
Moves the cursor to the end of the current lineHome
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 lineCtrl-End 
Moves the cursor to the end of the documentCtrl-Home 
Moves the cursor to the start of the documentCtrl-G
Displays the Go to Line dialog. If the debugger is running, the dialog also lets you specify addresses or function names to go toCtrl-] 
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 versaCtrl-K, Ctrl-N
Moves to the next bookmark in the documentCtrl-K, Ctrl-P
Moves to the previous bookmarkCtrl-K, Ctrl-I
Displays Quick Info, based on the current languageCtrl-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 editorsCtrl-Up Arrow 
Scrolls text up one line but does not move the cursor. Available only in text editorsCtrl-Right Arrow 
Moves the cursor one word to the rightCtrl-Left Arrow 
Moves the cursor one word to the leftCtrl-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) shortcutCtrl-Shift-2
Navigates to the previous definition, declaration, or reference of an item

return to top



Text manipulation

ShortcutDescriptionEnter 
Inserts a new lineDelete
Deletes one character to the right of the cursorInsert
Toggles between insert and overtype insertion modesTab
Indents the currently selected line or lines by one tab stop. If there is no selection, this inserts a tab stopShift-Tab 
Moves current line or selected lines one tab stop to the leftBackspace or
Shift-Backspace
Deletes one character to the left of the cursorCtrl-K, Ctrl-C
Marks the current line or selected lines of code as a comment, using the correct comment syntax for the programming languageCtrl-K, Ctrl-U
Removes the comment syntax from the current line or currently selected lines of codeCtrl-T or 
Shift-Enter
Swaps the characters on either side of the cursor. (For example, AC|BD becomes AB|CD.) Available only in text editorsCtrl-K, Ctrl-L
Removes all unnamed bookmarks in the current documentCtrl-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 documentAlt-Right Arrow or 
Ctrl-Spacebar
Displays statement completion based on the current language or autocompletes word if existing text unambiguously identifies a single symbolCtrl-K, Ctrl-\ 
Removes horizontal whitespace in the selection or deletes whitespace adjacent to the cursor if there is no selectionCtrl-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 clipboardCtrl-Shift-L
Deletes all selected lines or the current line if no selection has been madeCtrl-Enter 
Inserts a blank line above the cursorCtrl-Shift-Enter 
Inserts a blank line below the cursorShift-Alt-T 
Moves the line containing the cursor below the next lineCtrl-J
Lists members for statement completion when editing codeCtrl-U
Changes the selected text to lowercase charactersCtrl-Shift-UChanges the selected text to uppercase charactersCtrl-Shift-Spacebar 
Displays a tooltip that contains information for the current parameter, based on the current languageCtrl-M, Ctrl-U
Removes the outlining information for the currently selected regionCtrl-M, Ctrl-P
Removes all outlining information from the entire documentCtrl-R, Ctrl-P
Swaps the anchor and endpoint of the current selectionCtrl-M, Ctrl-L
Toggles all previously marked hidden text sections between hidden and display statesCtrl-K, Ctrl-K
Sets or removes a bookmark at the current lineCtrl-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 statesCtrl-K, Ctrl-H
Sets or removes a shortcut in the tasklist to the current lineCtrl-R, Ctrl-R
Enables or disables word wrap in an editorCtrl-R, Ctrl-W
Shows or hides spaces and tab marksCtrl-Delete 
Deletes the word to the right of the cursorCtrl-Backspace 
Deletes the word to the left of the cursorCtrl-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

ShortcutDescriptionShift-Left Arrow 
Moves the cursor to the left one character, extending the selectionShift-Alt-Left Arrow 
Moves the cursor to the left one character, extending the column selectionShift-Right Arrow 
Moves the cursor to the right one character, extending the selectionShift-Alt-Right Arrow 
Moves the cursor to the right one character, extending the column selectionCtrl-Shift-End 
Moves the cursor to the end of the document, extending the selectionCtrl-Shift-Home 
Moves the cursor to the start of the document, extending the selectionCtrl-Shift-] 
Moves the cursor to the next brace, extending the selectionShift-Down Arrow 
Moves the cursor down one line, extending the selectionShift-Alt-Down Arrow 
Moves the cursor down one line, extending the column selectionShift-End 
Moves the cursor to the end of the current line, extending the selectionShift-Alt-End 
Moves the cursor to the end of the line, extending the column selectionShift-Home 
Moves the cursor to the start of the line, extending the selectionShift-Alt-Home 
Moves the cursor to the start of the line, extending the column selectionShift-Up Arrow 
Moves the cursor up one line, extending the selectionShift-Alt-Up Arrow 
Moves the cursor up one line, extending the column selectionShift-Page Down 
Extends selection down one pageShift-Page Up 
Extends selection up one pageCtrl-A
Selects everything in the current documentCtrl-W
Selects the word containing the cursor or the word to the right of the cursorCtrl-= 
Selects from the current location in the editor back to the previous location in the navigation historyCtrl-Shift-Page Down 
Moves the cursor to the last line in view, extending the selectionCtrl-Shift-Page Up 
Moves the cursor to the top of the current window, extending the selectionCtrl-Shift-Alt-Right Arrow 
Moves the cursor to the right one word, extending the column selectionCtrl-Shift-Left Arrow 
Moves the cursor one word to the left, extending the selectionCtrl-Shift-Alt-Left Arrow
Moves the cursor to the left one word, extending the column selection

return to top



Project related

ShortcutDescriptionCtrl-Shift-B 
Builds the solutionCtrl-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 projectCtrl-Shift-N
Displays the New Project dialogCtrl-O
Displays the Open File dialogCtrl-Shift-O
Displays the Open Project dialogShift-Alt-A
Displays the Add Existing Item dialogCtrl-Shift-A
Displays the Add New Item dialogCtrl-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

ShortcutDescriptionShift-Alt-Enter 
Toggles full screen modeCtrl-+ 
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 operationCtrl-F4 
Closes the current MDI child windowShift-Esc 
Closes the current tool windowCtrl-F2 
Moves the cursor to the navigation bar at the top of a code viewCtrl-Tab 
Cycles through the MDI child windows one window at a timeCtrl-F6,
Ctrl-Shift-Tab
Moves to the previous MDI child windowAlt-F6,
Ctrl-Shift-F6
Moves to the next tool windowShift-Alt-F6 
Moves to the previously selected windowF6 
Moves to the next pane of a split pane view of a single documentShift-F6 
Moves to the previous pane of a document in split pane viewCtrl-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 viewCtrl-PageUp 
Moves to the previous tab in the document or window

return to top



Control editor (designer)

ShortcutDescriptionCtrl-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 surfaceCtrl-Left Arrow 
Moves the control to the left in increments of one on the design surfaceLeft Arrow 
Moves the control to the left to the next grid position on the design surfaceCtrl-Right Arrow 
Moves the control to the right in increments of one on the design surfaceRight Arrow 
Moves the control to the right into the next grid position on the design surfaceCtrl-Up Arrow
Moves the control up in increments of one on the design surfaceUp Arrow 
Moves the control up into the next grid position on the design surfaceTab 
Moves to the next control in the tab orderShift-Tab 
Moves to the previous control in the tab orderCtrl-Shift-Down Arrow 
Increases the height of the control in increments of one on the design surfaceShift-Down Arrow 
Increases the height of the control to the next grid position on the design surfaceCtrl-Shift-Left Arrow 
Reduces the width of the control in increments of one on the design surfaceShift-Left Arrow 
Reduces the width of the control to the next grid position on the design surfaceCtrl-Shift-Right Arrow 
Increases the width of the control in increments of one on the design surfaceShift-Left Arrow 
Increases the width of the control to the next grid position on the design surfaceCtrl-Shift-Up Arrow 
Decreases the height of the control in increments of one on the design surfaceShift-Up Arrow 
Decreases the height of the control to the next grid position on the design surface

return to top



ShortcutDescriptionCtrl-F
Displays the Find dialogCtrl-Shift-F
Displays the Find in Files dialogF3
Finds the next occurrence of the previous search textCtrl-F3 
Finds the next occurrence of the currently selected text or the word under the cursor if there is no selectionShift-F3 
Finds the previous occurrence of the search textCtrl-Shift-F3 
Finds the previous occurrence of the currently selected text or the word under the cursorCtrl-D
Places the cursor in the Find/Command line on the Standard toolbarAlt-F3, H
Selects or clears the Search Hidden Text option for the Find dialogCtrl-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 operationsAlt-F3, R
Selects or clears the Regular Expression option so that special characters can be used in Find and Replace operationsCtrl-H
Displays the Replace dialogCtrl-Shift-H
Displays the Replace in Files dialogCtrl-Shift-I 
Performs an incremental search in reverse directionAlt-F3, S
Halts the current Find in Files operationAlt-F3, B
Selects or clears the Search Up option for Find and Replace operationsAlt-F3, W
Selects or clears the Match Whole Word option for Find and Replace operationsAlt-F3, P
Selects or clears the Wildcard option for Find and Replace operations

return to top



Help

ShortcutDescriptionCtrl-Alt-F1 
Displays the Contents window for the documentationCtrl-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 cursorF1
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 cursorCtrl-Alt-F2 
Displays the Help Index windowShift-Alt-F2 
Displays the Index Results window, which lists the topics that contain the keyword selected in the Index windowAlt-Down Arrow 
Displays the next topic in the table of contents. Available only in the Help browser windowAlt-Up Arrow 
Displays the previous topic in the table of contents. Available only in the Help browser windowCtrl-Alt-F3 
Displays the Search window, which allows you to search for words or phrases in the documentationShift-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

ShortcutDescriptionCtrl-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 procedureCtrl-Alt-Break 
Temporarily stops execution of all processes in a debugging session. Available only in run modeCtrl-Alt-B
Displays the Breakpoints dialog, where you can add and modify breakpointsCtrl-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 modeCtrl-Shift-F9 
Clears all of the breakpoints in the projectCtrl-Alt-D
Displays the Disassembly windowCtrl-F9 
Enables or disables the breakpoint on the current line of code. The line must already have a breakpoint for this to workCtrl-Alt-E
Displays the Exceptions dialogCtrl-Alt-I
Displays the Immediate window, where you can evaluate expressions and execute individual commandsCtrl-Alt-V, L
Displays the Locals window to view the variables and their values for the currently selected procedure in the stack frameCtrl-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 windowCtrl-Alt-M, 2
Displays the Memory 2 windowCtrl-Alt-M, 3
Displays the Memory 3 windowCtrl-Alt-M, 4
Displays the Memory 4 windowCtrl-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 programsCtrl-B
Opens the New Breakpoint dialogCtrl-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 expressionCtrl-Alt-G
Displays the Registers window, which displays CPU register contentsCtrl-Shift-F5 
Terminates the current debugging session, rebuilds if necessary, and then starts a new debugging session. Available in break and run modesCtrl-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 modesCtrl-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 runningCtrl-Shift-F10 
Sets the execution point to the line of code you chooseAlt-NUM *
Highlights the next statement to be executedF5 
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 finishesF11
Executes code one statement at a time, tracing execution into function callsShift-F11 
Executes the remaining lines of a function in which the current execution point liesF10
Executes the next line of code but does not step into any function callsShift-F5 
Available in break and run modes, this terminates the debugging sessionCtrl-Alt-V, T
Displays the This window, which allows you to view the data members of the object associated with the current methodCtrl-Alt-H
Displays the Threads window to view all of the threads for the current processF9
Sets or removes a breakpoint at the current lineCtrl-F11 
Displays the disassembly information for the current source file. Available only in break modeCtrl-Alt-W, 1
Displays the Watch 1 window to view the values of variables or watch expressionsCtrl-Alt-W, 2
Displays the Watch 2 windowCtrl-Alt-W, 3
Displays the Watch 3 windowCtrl-Alt-W, 4
Displays the Watch 4 windowCtrl-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

ShortcutDescriptionAlt-F12 
Displays the Find Symbol dialogCtrl-F12 
Displays the declaration of the selected symbol in the codeF12
Displays the definition for the selected symbol in codeCtrl-Alt-F12 
Displays the Find Symbol Results windowCtrl-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 projectAlt-+ 
Moves back to the previously selected object in the selection history of the object browserShift-Alt-+ 
Moves forward to the next object in the selection history of the object browser

return to top



Tool window

ShortcutDescriptionCtrl-Shift-M
Toggles the Command window into or out of a mode allowing text within the window to be selectedCtrl-Shift-C
Displays the Class View windowCtrl-Alt-A
Displays the Command window, which allows you to type commands that manipulate the IDECtrl-Alt-T
Displays the Document Outline window to view the flat or hierarchical outline of the current documentCtrl-Alt-F
Displays the Favorites window, which lists shortcuts to web pagesCtrl-Alt-O
Displays the Output window to view status messages at runtimeF4
Displays the Properties window, which lists the design-time properties and events for the currently selected itemShift-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 windowCtrl-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 servicesCtrl-Alt-R
Displays the web browser window, which allows you to view pages on the InternetCtrl-Alt-L
Displays the Solution Explorer, which lists the projects and files in the current solutionCtrl-Alt-K
Displays the TaskList window, which displays tasks, comments, shortcuts, warnings, and error messagesCtrl-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)

ShortcutDescriptionCtrl-B
Toggles the selected text between bold and normalCtrl-Shift-T
Decreases the selected paragraph by one indent unitCtrl-T 
Indents the selected paragraph by one indent unitCtrl-I
Toggles the selected text between italic and normalCtrl-Shift-K
Prevents an absolutely positioned element from being inadvertently moved. If the element is already locked, this unlocks itCtrl-G
Toggles the gridCtrl-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 documentCtrl-U
Toggles the selected text between underlined and normalCtrl-Shift-L
Displays the Bookmark dialogCtrl-J
Inserts <div></div> in the current HTML documentCtrl-L
When text is selected, displays the Hyperlink dialogCtrl-Shift-W
Displays the Insert Image dialogCtrl-Alt-Up Arrow 
Adds one row above the current row in the tableCtrl-Alt-Down Arrow 
Adds one row below the current row in the tableCtrl-Alt-Left Arrow 
Adds one column to the left of the current column in the tableCtrl-Alt-Right Arrow 
Adds one column to the right of the current column in the tableCtrl-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 elementsCtrl-Page Down 
Switches from design view to HTML view and vice versaCtrl-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

ShortcutDescriptionAlt-F8 
Displays the Macro Explorer window, which lists all available macrosAlt-F11 
Launches the macros IDECtrl-Shift-R
Places the environment in macro record mode or completes recording if already in record modeCtrl-Shift-P
Plays back a recorded macro
原创粉丝点击