Note – this post refers to and is tested with Visual Studio Team System 2008.
If you’re using Visual Studio and Team Foundation Server, you’ll probably be viewing the history of files in your solution fairly regularly. Unfortunately there’s no keyboard shortcut set up for that. If you wish to set one up, here’s what to do:
- Go to the “Tools” menu and select “Options” and then “Keyboard”
- In "Show commands containing:” type “TfsHistory” and select “File.TfsHistory” in the list.
- In “Press shortcut keys”, put in your desired shortcut. Take a note of anything appearing in “Shortcut currently used by” to ensure you don’t overwrite anything.
- Click “Assign”
In the screenshot below, I’m setting up “Ctrl+Shift+Alt+V” followed by “H” to be the short cut. Once I click “Assign”, I’m done.
3 replies on “Setting up a keyboard shortcut for View History in Visual Studio using TFS”
Great tip 🙂
Good tip!
Is there a way to assign a shortcut to view history of the branch that is currently open? Thanks btw 🙂