Hotkey to open TFS Source Control Explorer in Visual Studio 2012?

回眸只為那壹抹淺笑 提交于 2019-12-04 08:16:23

问题


Currently I have to open Team Explorer and click on Source Control Explorer as below snapshot.

I do this very often and need a hotkey for that.

What is it then?


回答1:


Try with below step:

Go to Options of Tools menu

  1. Select the Keyboard from Environment

  2. Select View.TfsSourceControlExplorer from Show commands containing:. You can type View.TFS in the textbox to filter the list.

  3. Enter your hotkey in Press shorcut keys => click on Assign

Hope it helps!




回答2:


According to a comment that I found in the site that @Adarsh mentioned, Alt+V,E,S will open the Source Control Explorer. It's a couple extra keystrokes but it works for me!




回答3:


You can use Ctrl+0,P to open the Pending Changes Window.

You can find all the shortcuts for team Explorer on this blog: http://blogs.msdn.com/b/buckh/archive/2012/06/06/team-explorer-2012-keyboard-shortcuts.aspx

Update:

In Visual Studio 2013 Ctrl+0,P doesn't seem to work to open Pending Changes, but you can use Alt-V,E,H or configure a custom shortcut in the menu Tools/Options/Environment/Keyboard.




回答4:


Just wanted to share another alternative I learned. One could set an alias in VS Command Window and launch it from there.

alias sce View.TfsSourceControlExplorer

note- 'sce' is an alias of your choice. I generally abbreviate. Obvious but having a pattern will be helpful if you have many of these.

Steps:

  1. Open command window (ctrl+alt+A)
  2. Set the alias (the statement shown above)
  3. Next time you need to launch the Source Control Explorer, switch/launch command window and type your alias name. 'sce' in the above example.



回答5:


Alt+V,E,S works for me even in VS 2015

In case you like to see more shortcuts, please visit this site http://visualstudioshortcuts.com




回答6:


IN VS 2015 Toolbar=>Team=> Manage Connections =>(window like solution explorer will open on right side) Team Explorer- Connect=> Beneath the home symbol ==> Click "Connect"=>Click "Source Control Explorer"



来源:https://stackoverflow.com/questions/21131024/hotkey-to-open-tfs-source-control-explorer-in-visual-studio-2012

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