Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to show the current TFS workspace in Visual Studio?

I'm looking for a way to have the current TFS workspace displayed in Visual Studio.

It's visible when I open the Source Control Explorer (or Pending Changes), but I want it to be visible too when I'm editing code. So for example showing it in the toolbar, or in the window titlebar, or in the bottom status bar, doesn't matter as long as I can see it with a single glance.

Any tips?

like image 266
void_Foo Avatar asked Feb 20 '12 10:02

void_Foo


People also ask

How do I view workspaces in Visual Studio?

You can look at it by opening it with a text editor. Close the folder you created and close Visual Studio Code. Now find your workspace "file" and double click on it. This will open Visual Studio Code with the folder you created in your workspace.

Where are TFS workspaces stored?

TFS workspaces are unique to your user name and the remote computer name and workspace information is stored both on your local computer and on the server.


2 Answers

You can use the "Rename Visual Studio Window Title" extension https://visualstudiogallery.msdn.microsoft.com/f3f23845-5b1e-4811-882f-60b7181fa6d6 and use the [workspaceName] attribute. Hope it helps.

like image 82
Devis L. Avatar answered Nov 08 '22 11:11

Devis L.


There is a add on that shows this info, you can dock it somewhere :

http://visualstudiogallery.msdn.microsoft.com/384a4952-6b6f-4391-bc59-1b2bd38e1baf

like image 21
Antonio Bakula Avatar answered Nov 08 '22 12:11

Antonio Bakula