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

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

Rate This
  • Comments 8

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!

Leave a Comment
  • Please add 3 and 4 and type the answer here:
  • Post
  • Nice tip :-)

  • This would be a very nice and power feature if they didn't remove the UNDO Pending changes feature that used to be at a simple right click in Solution Explorer.  You now have to go to Team Explorer tab, select pending changes, scroll down to included changes and right click and select undo.  That added two clicks and a scroll to be able to undo your pending changes, that used to be just a right click in 2010 from Solution Explorer.

    They should never remove features, unless they know they were not being used or replace them with an even better version that was more effective and equally efficient.

    2012 has been a failure on many levels, from Look and Feel, to moving things around, to removing features, or making them less accessible, to not fixing long time performance and memory issues.

  • Hello Rodney,

    Thank you for your comment.

    The team is doing their planning right now...Is there any chance you can add this suggestion to:

    visualstudio.uservoice.com/.../121579-visual-studio

    under the Ultimate category?

    (They are the team that wrote this feature)

    Thanks

    Chuck

  • Actually the product planners just pointed out to me they are tracking this and there is already a suggestion for this:

    visualstudio.uservoice.com/.../2654486-vs11-bring-back-the-old-pending-changes-window

    So if you could add your votes to this idea that would be ideal!

    Thanks

    Chuck

  • @Rodney - The Undo command should still be available from the context menu in Solution Explorer for items that are under source control.  If you can send me more details about the behavior you're seeing, and details to reproduce the problem, that would be really helpful.  mmitrik at microsoft dot com.

    Thanks!

    Matt

  • Nice tip, although why they depreciated the UNDO pending changes is beyond me, probally one of the most used features and its gone.

  • @Dean - The Undo command should still be available from the context menu in Solution Explorer for items that are under source control.  If you can send me more details about the behavior you're seeing, and details to reproduce the problem, that would be really helpful.  mmitrik at microsoft dot com.

    Thanks!

    Matt

  • Is there a way to go from pending changes to solution tree?

    If you double click on project file, it opens another visual studio with that project. Why???

    Thanks,

Page 1 of 1 (8 items)