有人通过电子邮件给我发送了一个 TFS 变更集 ID,现在我正在尝试打开这个单个变更集。在 Visual Studio 中(VS 2008,如果重要的话)有一个简单的方法可以做到这一点吗?
在 Visual Studio 中,键盘快捷键可用于提取特定的变更集或工作项。
转到变更集
In Visual Studio open the Source Control Explorer window and while it has context press
Ctrl + G. Enter the number in the Go To Changeset dialog and press OK.
我知道这在 VS 2010、2012 和 2013 中有效,但回想起来至少可以追溯到 Visual Studio 2008。
转到工作项目
Pressing Ctrl + G when the Team Explorer Work Items window has context brings up the Go To Work Item dialog:
在 Visual Studio 2012 和 2013 中TEAM菜单包含一个选项转到工作项目这也会弹出这个对话框。
遗言
Visual Studio is a very contextual program and what happens when a specific keyboard command is used is oftentimes influenced by what window has context. To be clear pressing Ctrl + G when an editor window is open will present the Go To Line dialog.
与 Visual Studio 中的许多键盘命令一样,您的操作效果会有所不同。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)