Ejemplo n.º 1
0
 protected override void Run(ITextEditor textEditor, RefactoringProvider provider)
 {
     using (var pm = Gui.AsynchronousWaitDialog.ShowWaitDialog("${res:SharpDevelop.Refactoring.RemoveUnusedImports}")) {
         NamespaceRefactoringService.ManageUsings(pm, textEditor.FileName, textEditor.Document, true, true);
     }
 }
Ejemplo n.º 2
0
 protected override void Run(TextEditorControl textEditor, RefactoringProvider provider)
 {
     NamespaceRefactoringService.ManageUsings(textEditor.FileName, textEditor.Document, true, true);
 }