As the title says, in the view for Pending Changes, where VS lists changes in your version, Show All is selected by default. In VS2013 update 3, i had this set to Show Solution Changes by default.
I have to change this view to show only solution changes for every new check-in. I want the default to be Show Solution Changes.
1)Open any folder and set its view to "Details" (which is the one you want, right?) 2)ON that same folder, click the tab "View" on the top, then "Options" at the far right and select "Change folder and search options". 3)On the windows "Folder options" that will show up, click the tab "View".
(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.
Unless someone has ‘pinned’ a different view in your app as their personal default, they will see the default view that you specify as the app maker. You can set any of the public views as the default view for an entity.
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… Here is a screenshot with pending changes turned on….
As far as I tested, this default setting is controlled by the following registry entry. If the value of this registry entry is set as 1, then it should change the default behavior to filter by "Solution Changes".
"HKCU\Software\Microsoft\VisualStudio\12.0\TeamFoundation\SourceControl"
Name: FilterPendingChanges REG_DWORD
Value: 1 = Show Solution Changes
Value: 0 = Show All
Since we are on this topic, if you want to change the default file listing to "List View" instead of the "Tree View", you should modify the below Registry entry:
"HKCU\Software\Microsoft\VisualStudio\12.0\TeamFoundation\SourceControl\PendingCheckins"
Name: ListLayout REG_DWORD
Value: 1 = TreeView
Value: 2 = ListView
I had the same issue with the default never "sticking" regardless of what I did in the UI / Registry.
I found the problem went away when I chose to ignore a bunch of changes it kept adding to the pending changes
These changes happened to be inside the solution's mapped folder (in the NuGet packages folder). These were ignored in my .tfignore file, but had got into TFS's targets before the tfignore file was added.
So guess some code in VS is overriding the user's choice / reg in such cases.
Solved by choosing to Ignore those changes.
Now it sticks ! Winning !
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With