![](/img/trans.png)
[英]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.