Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Navigate in source control explorer by local path instead of TFS path

In the Visual Studio 2013 Source Control Explorer, you can type a TFS path in the source location and hit enter, and it will display the files located in that TFS location.

But the local path (if any) is not editable. Is there a way (built in, or plugin), that I can enter a local file path (i.e. c:\tfs\myapp\folder1\folder2\folder3), and it will take me there (if mapped)?

I often have long TFS paths, and I don't remember where things are by heart. So, I will navigate to the location in Windows Explorer. But, I can't paste that into source control explorer, so I have to navigate there a second time. Would be great if I could just paste that into Source Control Explorer.

like image 627
Hoppe Avatar asked Oct 19 '22 12:10

Hoppe


1 Answers

It's not a perfect solution but do simplify your work.

  1. Open Developer Command Prompt for Visual Studio 2013 in order to use TF.exe;
  2. Navigate source code local folder;
  3. type tf info * or tf dir or tf property *;

Some server path will be displayed for your use.

Another option is to install Team Foundation Server Power Tool so that you can perform most operations in Windows Explorer instead of Source Control Explorer. You can install it from https://visualstudiogallery.msdn.microsoft.com/f017b10c-02b4-4d6d-9845-58a06545627f or Extensions And Tools within Visual Studio.

like image 190
qxg Avatar answered Oct 22 '22 02:10

qxg