Is it possible to close the left bottom panel through keyboard shortcut in Visual Studio IDE?
Many times I want to close the left bottom panel which includes b开发者_StackOverflow中文版uild information, etc. by keyboard shortcut in Visual Studio IDE, is it possible? Or can I customize Visual Studio to support this?
I am assuming you talk about the Output window? The Keyboard Shortcut to show the Output window is CTRL+W, O (so first press and hold CTRL and W, while holding tap O) - also CTRL+ALT+O works.
Now you can exit the window with Shift+ESC. I don't know any way to exit the output window directly.
Some more shortcuts:
- CTRL+W, O Output window
- CTRL+W, P Properties window
- CTRL+W, T Task list window
- CTRL+W, X Toolbox window
etc. for a complete list check this MSDN article about VS2010 default keyboard shortcuts.
Press the hotkey that activates the tool-window (eg, Ctrl + W, O for the output window), then press Shift+Esc.
To see the hotkeys that activate different tool-windows, look at the View menu.
You need to do two things:
Go to Tools -> Options -> Environment -> General and deselect the "Close button affects active tool window only".
Now go to Tools -> Options -> Environment -> Keyboard and bind a shortcut key to the Window.Hide command (I bound mine to CTRL + ALT + ESC when testing but it's a little cumbersome).
That's it. Now when you are any any tool window and press the shortcut key for Window.Hide it will close all the windows in that tab group.
WARNING: Like anything else this is good and bad. Now that you have "Close button affects active tool window only" it will close all tool windows that are grouped no matter where you are so be aware of how you are grouping your tool windows.
Also, if you want to close the active "pane" or "window" like output just press shift+esc
精彩评论