
If item.Kind = "Tool" And item.Visible And Not item. However I guess it should be possible to modify the macro from the answer: Public Sub CloseAllToolWindows()ĭim items As EnvDTE.Windows = DTE.Windows There is a difference though, I only want to close all windows inside a particular "region" not the solution explorer or properties. That is a pretty close question, and I didn't see it before posting. Is there a way to close all these windows at the same time, preferable a keyboard shortcut?Ībout the possible duplicate here: Close all tool windows in Visual Studio?. I don't know if that's the correct term, they appear as tabs next to each other. But it's closer to what I want than Close All But This.I've arranged Visual Studio 2010 such that output, error list, find results and many other windows appear in the same "region". The windows are also listed in the dialog box in alphabetical order - I'd prefer they list reflect the tab order (I often group together tabs for windows that I use together). This isn't a perfect solution - I usually want to close more windows than I want to leave open, so I wish I could select the Windows to leave open rather than select the Windows I want to close. If you hold down the Control key, you can select which Windows you want to close and then close them all by clicking the dialog box's Close Windows button.

This brings up a dialog box that lists all the open Windows. Ctrl+W // close all the documents which are opened if it does not work, add own shortcut.

You can pick and choose among your open editor Windows by going to Visual Studio's Window menu and selecting the Windows menu choice (it's right at the bottom of the menu). I often pick that last choice (Close All But This) even though I really want to keep a few more Windows open. Unfortunately, when I right-click on the tabs I get two choices that don't do what I want: I can close all the windows, or close every window but the one I clicked on. 1 '': false, Method 3, disable completely.

Hot Keys: CTRL+K+C for Bulk Comment & CTRL+K+C for Uncomment. CTRL+SHIFT+F5 lets you end the debugging session, rebuild it, and create a new debugging session.

You will still be able to use CtrlR + K and CtrlR + I as needed. This shortcut combines three debugging Visual Studio code commands in one. 1 'editor.quickSuggestionsDelay': 1000, Method 2, disable the hover function. Eventually, I have so many tabs open across the top of my Visual Studio editor window that I recognize I have to close most - but not all - of my Windows. Method 1, update the suggestion delay so you can still have tips but they dont appear unless you hover over the element for some time.
