Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to show pending changes only for the currently opened solution in Visual Studio 2010 (TFS) and not the complete list of all changes?

is there a way to force Visual Studio 2010 to show pending changes only for the currently opened solution? I am working on multiple branches of the same project and changing the same files in most of the branches. It's so painful to check the pending changes by hand every time and double-checking if I've selected the files that I am currently working on...

like image 975
brokenisfixed Avatar asked Feb 04 '11 10:02

brokenisfixed


People also ask

How do I view pending changes in TFS?

Just click "Pending Changes" to open the Pending Changes view. Or go to View > Other Windows > Pending Changes.

How do I get rid of pending changes in TFS?

To undo a few of your pending changes To undo all changes you have made in your solution or a code project, open the context menu, and then choose Undo Pending Change. In the Undo Pending Changes dialog box, make sure the changes you want to undo are selected, and then choose Undo Changes.


Video Answer


2 Answers

Open the pending changes window. You can find there a toolbar button that filters on the current solution.

enter image description here

like image 130
Ewald Hofman Avatar answered Sep 16 '22 13:09

Ewald Hofman


Yes, on the pending changes view one of the last icons along the top is a "filter by solution" (next to the refresh icon). Click that to reduce the change list to the current solution.

You can see a screenshot of it here

like image 33
MarkG Avatar answered Sep 18 '22 13:09

MarkG