Add keyboard shortcut to open Builds view in Visual Studio 2012

点点圈 提交于 2020-01-02 14:55:25

问题


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.

EDIT: As it is not obvious from the answer, the command TeamFoundationContextMenus.Commands.GoToBuilds is the one I was looking for.


回答1:


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:

The key combination (combination) is bound to command (View Controller Queue) which is not currently available.

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.



来源:https://stackoverflow.com/questions/13305284/add-keyboard-shortcut-to-open-builds-view-in-visual-studio-2012

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!