Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Keyboard shortcut to get latest version in Visual Studio

I want a keyboard shortcut to Get Latest Version (Recursive) of the current solution in Visual Studio 2012. We are using TFS.

I've tried to map

File.GetLatestSolutionFiles
File.GetLatestVersion
File.TfsGetLatestVersion

but nothing happens. Any ideas?

As a workaround I've also tried, and failed, to map a keyboard shortcut to:

Tools.shell """c:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe""" get $/OUR/REPOSITORY/Main /recursive

This is the command I want a keyboard shortcut to: enter image description here

like image 328
Jonas Elfström Avatar asked Oct 31 '12 12:10

Jonas Elfström


People also ask

What does Ctrl d do in Visual Studio?

To solve this issue, we introduced Duplicate Code (Ctrl + D) in Visual Studio 2017 version 15.6 which streamlines the process of duplicating your code while leaving your clipboard untouched. If nothing is selected, Ctrl + D will duplicate the line the cursor is in and insert it right below the line in focus.

What is Ctrl F8?

Ctrl+F8: Performs the Size command when a workbook is not maximized. Alt+F8: Displays the Macro dialog box to create, run, edit, or delete a macro. F9. F9: Calculates all worksheets in all open workbooks.

How to use keyboard shortcuts in Visual Studio 2017?

You can look up the shortcut for any command by opening the Options dialog box, expanding the Environment node, and then choosing Keyboard. Ctrl+. These keyboard shortcuts are global, which means that you can use them when any Visual Studio window has focus.

What is the search and replace keyboard shortcut in Visual Studio?

The search and replace Visual Studio keyboard shortcuts are useful in finding various codes and comments from the code editor. 25. Alt+F3, R for Regular Expression. This shortcut key is also part of Search and replaces related Visual Studio code shortcuts.

How do I find the default command shortcuts in Visual Studio?

This page lists the default command shortcuts for the General profile, which you might have chosen when you installed Visual Studio. No matter which profile you chose, you can identify the shortcut for a command by opening the Options dialog box, expanding the Environment node, and then choosing Keyboard.

How to improve your coding skills in Visual Studio?

Get a source code for each Visual Studio keyboard shortcuts. Explore best Visual Studio shortcut keys to improve your coding skills. Get a source code for each Visual Studio keyboard shortcuts.


1 Answers

Alt-V P Home Alt-F R L

or

Alt-V P Home Menu L (This is how I do it every day)

A shorter solution is by binding one of the commands you listed; How did you try that, exactly?

like image 118
jonvuri Avatar answered Sep 18 '22 15:09

jonvuri