添加键盘快捷方式以在Visual Studio 2012中打开构建视图 [英] Add keyboard shortcut to open Builds view in Visual Studio 2012
问题描述
我想知道是否有Visual Studio命令在Team Explorer中显示Builds视图,以便我可以将键盘快捷键绑定到它.
例如,我能够创建绑定到View.TfsPendingChanges命令的 CTRL + W , CTRL + G 快捷方式该视图直接显示Team Explorer中的Pending Changes视图.
I am wondering if there is Visual Studio command for showing the Builds view in Team Explorer, so that I can bind a keyboard shortcut to it.
For example, I was able to create CTRL+W,CTRL+G shortcut bound to View.TfsPendingChanges command which shows directly Pending Changes view within Team Explorer.
从答案中还不很明显,我正在寻找的命令TeamFoundationContextMenus.Commands.GoToBuilds.
As it is not obvious from the answer, the command TeamFoundationContextMenus.Commands.GoToBuilds is the one I was looking for.
推荐答案
有一个命令. 工具">选项">环境">键盘">"Build.ViewControllerQueue"是您想要的,但是,如果您设置了一种快捷方式并尝试执行它,则会得到:
There is a command. Tools > Options > Environment > Keyboard > Build.ViewControllerQueue is the one you want, but if you set a shortcut and try to execute it, you get:
键组合(组合)绑定到当前不可用的命令(View Controller Queue).
The key combination (combination) is bound to command (View Controller Queue) which is not currently available.
我不确定该如何解决.到目前为止,我发现进入Build Explorer的最简单方法是 Ctrl + 0 , Ctrl + B ,这会打开Team Explorer的构建"页面,然后您可以点击操作">管理队列".
I'm not sure how to get around this. The easiest way I've found to get to the Build Explorer so far is Ctrl+0,Ctrl+B which brings up the Builds page of the Team Explorer, and then you can hit Actions > Manage Queue.
有趣的是,如果您如上所述设置快捷方式,则该快捷方式实际上将作为快捷方式显示在动作"上下文菜单中,但无效.
Interestingly, if you set the shortcut as described above, it will actually show up in the Actions context menu as the shortcut, but it does not work.
这篇关于添加键盘快捷方式以在Visual Studio 2012中打开构建视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!