[英]Visual Studio 2013: auto-refresh solution explorer in “show all files” mode
[英]Visual Studio 2013 close all Tool Windows
如果有人能告诉我如何在可自动化的功能中关闭Visual Studio 2013中的每个工具窗口,我会很高兴,甚至兴高采烈。 解决方案资源管理器,输出窗口和工具箱都是可以在我的屏幕上累积的无数工具窗口的示例。 我正在使用Autohotkey尝试关闭它们,但是通过盲人键盘快捷键(AFIK)已经无法做到了。我不反对插件,但只有键盘的东西才是理想的。
非常感谢!
如果你想用Autohotkey来做,请看看MCL建议的WinClose 。 您可能还需要SetTitleMatchMode 。 我仍在使用Visual Studio 2010,但稍微进行了一些调整,它也适用于Visual Studio 2012:
SetTitleMatchMode, 2 ;No need to enter the full title
Enter:: ;press enter to close all tool windows
WinClose, Microsoft Visual, Find and Replace
WinClose, Microsoft Visual, Solution Explorer
WinClose, Microsoft Visual, Class View
WinClose, Microsoft Visual, Property Manager
;...
Sleep, 1000
Return
Esc:: ;Use Esc to exit the script
ExitApp
从Autohotkey文件夹中使用“AU3_Spy.exe”查找WinTitle(部分)和一些可见文本。
Layouts-O-Rama是我对这个问题的看法。 在这里可以找到vs画廊:
http://visualstudiogallery.msdn.microsoft.com/35966ad9-430f-4ad7-9186-4394b784e36c
基本上,插件可以保存工具窗口布局。 您可以简单地保存一个布局,关闭所有工具窗口并为其分配热键。 为了更进一步,您可以使用您喜欢的所有工具窗口保存另一个布局,并为此分配不同的热键。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.