August 14th, 2012

Showing files with pending changes or files that are open in Visual Studio 2012 Solution Explorer

One of the hidden gems in Visual Studio 2012 is the ability to show just those files that are open or those with pending changes…Take for instance the solution below are any of these files open? do any of them have a pending change?

image

(in this graphic the answer is no there aren’t any pending changes – Visual Studio does give you glyphs in front of the files that have pending changes – but this visual cue can get lost in the noise of large solutions)

 

Turns out finding these files and more importantly filtering on just these files is in Visual Studio 2012 is easy.

Next to the “home” button in solution explorer is a new “Filter” button with those to options…

image

Here is a screenshot with pending changes turned on….

image

Here is a screen shot of the open files filter(something Visual Studio doesn’t denote visually in Solution Explorer):

image

For folks not using TFS yet, this also works with other MSSCCI providers!

0 comments

Discussion are closed.