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

前端 未结 4 1036
执念已碎
执念已碎 2021-01-17 16:14

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

Or do you know so

4条回答
  •  一生所求
    2021-01-17 16:36

    Macro:

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

    Simply assign a hotkey to this.

    Edit: additional possibilities

提交回复
热议问题