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

I am looking for a way to display the current TFS workspace in Visual Studio.

This is visible when I open the source code explorer (or pending changes), but I want it to be visible too when I edit the code. So, for example, showing it on the toolbar or in the window title bar or in the lower status bar does not matter as long as I see it at a glance.

Any tips?

+7
source share
3 answers

There is an add-on showing this information, you can attach it somewhere:

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

+1
source

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 this helps.

+3
source

There are several options for this without an additional plugin.

  • Use the Properties view

    • Select a solution, project, or any file in Solution Explorer
    • Press F4 to go to the Properties view. The full path to your solution will be shown.
    • Note that right-clicking on a solution or project and selecting properties (Alt-Enter) will lead you to property pages that do not have the required information.

  • Use Source Control Explorer

    • Opening the version control manager will show you the last available workspace. In most cases, this will be the workspace for the solution you are working on. However, if you had two Visual Studio sessions for different workspaces, I saw the first VS session in the workspace of another VS session.

  • Use Pending Change View

    • Pending changes will show the workspace directly below the heading for the view.
    • You can go to pending changes through:
      • Team Explorer => Pending Changes
      • View => Other Windows => Pending Changes

  • Hover over an open file, a tooltip will show the full path to the file.

0
source

All Articles