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?
Try with below step:
Go to Options of Tools menu
Select the Keyboard from Environment
Select View.TfsSourceControlExplorer from Show commands containing:. You can type View.TFS in the textbox to filter the list.
Enter your hotkey in Press shorcut keys => click on Assign
Hope it helps!
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!
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
.
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:
- Open command window (ctrl+alt+A)
- Set the alias (the statement shown above)
- Next time you need to launch the Source Control Explorer, switch/launch command window and type your alias name. 'sce' in the above example.
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
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