It's kind of annoying to have to use my mouse to close the windows that appear when when summoned by my keyboard e.g. I find usages of an object by hitting Shift+F12, or any of the other dockable windows that appear for various other reasons.
Ideally these would close when I hit escape, but this does nothing. Alt+F4 wants to close the entire visual studio.
Is there any keyboard shortcut to close these windows?
To be clear, this is the kind of window I'm referring to:
Because if it't just a window you're talking about, alt-f4 will close the current window.
F5 - Run - This both starts the debugging session and continues the debugging session if the session is paused. F10 - Step Over - This runs just the next statement.
Tip of the Week 2022 (32 Part Series) Press CTRL ( CMD On a Mac) + K + W to close all your open tabs.
Save this question. Show activity on this post. This brings up the class so you can click to view the class.
According to Default Keyboard Shortcuts in Visual Studio 2015, you can use the following:
Window.Close
(window must have focus)Window.CloseDocumentWindow
to close the current tabIt appears @inksmithy has answered the question, even though it doesn't work for me. I reckon it's because I'm using ReSharper and he isn't.
For what it's worth, I just discovered Ctrl + Shift + F4 works for me.
I've decided to mark @inksmithy's answer as correct but if that doesn't work for you try my one.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With