Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to programmatically clear the Output Window in Visual Studio?

Do you know a way to add some code that, during debug, programmatically clear the Output Window in Visual Studio?

Or do you know some fast alternative like a key shortcut?

like image 870
Drake Avatar asked Apr 16 '10 08:04

Drake


1 Answers

Macro:

Sub ClearOutputWindow()
    DTE.ExecuteCommand("Edit.ClearOutputWindow")
End Sub

Simply assign a hotkey to this.

Edit: additional possibilities

like image 59
mafu Avatar answered Oct 21 '22 16:10

mafu