title: Close all tabs in Visual Studio
body: <p>I've arranged Visual Studio 2010 such that output, error list, find results and many other windows appear in the same "region". I don't know if that's the correct term, they appear as tabs next to each other.
  Is there a way to close all these windows at the same time, preferable a keyboard shortcut?</p>
  
  <p>Edit:
  About the possible duplicate here: <a href="https://stackoverflow.com/questions/4388746/close-all-tool-windows-in-visual-studio">Close all tool windows in Visual Studio?</a>.
  That is a pretty close question, and I didn't see it before posting. There is a difference though, I only want to close all windows inside a particular "region" not the solution explorer or properties. However I guess it should be possible to modify the macro from the answer: </p>
  
  <pre><code>Public Sub CloseAllToolWindows()
  Dim items As EnvDTE.Windows = DTE.Windows
  Dim item As Window
  
     For Each item In items
          If item.Kind = "Tool" And item.Visible And Not item.IsFloating And _
             item.Caption &lt;&gt; "Solution Explorer" And _
             item.Caption &lt;&gt; "Properties" And _
             item.Caption &lt;&gt; "To-do Explorer" And _
             item.Caption &lt;&gt; "Macro Explorer" Then
              item.Close()
          End If
      Next
  End Sub
  </code></pre>