예제 #1
0
        public void ClearReplText()
        {
            // Dismiss the pop-up (if any)
            _instance.ExecuteCommand(WellKnownCommandNames.Edit_SelectionCancel);

            // Clear the line
            _instance.ExecuteCommand(WellKnownCommandNames.Edit_SelectionCancel);
        }
예제 #2
0
 public void InvokeNavigateToNextHighlightedReference()
 {
     _instance.Workspace.WaitForAsyncOperations(
         Helper.HangMitigatingTimeout,
         FeatureAttribute.ReferenceHighlighting
         );
     _instance.ExecuteCommand(WellKnownCommandNames.Edit_NextHighlightedReference);
 }
예제 #3
0
 public void InvokeCompletionList()
 {
     _instance.ExecuteCommand(WellKnownCommandNames.Edit_ListMembers);
     _instance.Workspace.WaitForAsyncOperations(
         Helper.HangMitigatingTimeout,
         FeatureAttribute.CompletionSet
         );
 }
예제 #4
0
 public void Invoke()
 {
     VisualStudioInstance.ExecuteCommand("Refactor.Rename");
     VisualStudioInstance.Workspace.WaitForAsyncOperations(
         Helper.HangMitigatingTimeout,
         FeatureAttribute.Rename
         );
 }
예제 #5
0
 public void InvokeSignatureHelp()
 {
     _instance.ExecuteCommand(WellKnownCommandNames.Edit_ParameterInfo);
     _instance.Workspace.WaitForAsyncOperations(Helper.HangMitigatingTimeout, FeatureAttribute.SignatureHelp);
 }
예제 #6
0
 public void Invoke()
 {
     VisualStudioInstance.ExecuteCommand("Refactor.Rename");
     VisualStudioInstance.Workspace.WaitForAsyncOperations(FeatureAttribute.Rename);
 }