Team Foundation Server allows you to see who has what file checked out at any time. If you would like to see a list of files that any TFS User has checked out, follow the steps below:
- Open Visual Studio 2008 > Click File > Source Control > Find In Source Control > Status
- Select "Display all checked out" or "Display files checked out to" (to filter changes by user)
- Hit Find
The screenshots below show the type of results you should expect. Another great way to get this info is by using
Team Foundation Sidekicks. If you go this route, you will be able to export the results to a spreadsheet to make them easier to work with. I had to use this the other day to generate a list of all files that were checked out by multiple users. It was easy to work with the data once I got it in Excel. If you prefer getting these results from the command line, you can use the
tf status command in the Visual Studio 2008 command prompt as another option to view pending changes by TFS Users.
If you ever need to undelete a file/folder in TFS, here's how you can do it. I found a couple of people who didn't know this feature existed so I figured I'd throw a blog up about it.
- Open Visual Studio > Click Tools > Options > Source Control > Visual Studio Team Foundation Server
- Check Show deleted items in the Source Control Explorer, hit OK
- Right click on deleted file/folder in Source Control Explorer
- Click Undelete
- Check In