I'm writing a VS 2013 Package that is trying to do some logic based on the FilteredIncludedChanges property of the Pending Changes Extensibility service, but this list is always empty, and the IncludedChangesFilterText is always empty.
Here is a screenshot of me filtering the Included Changes:
This is the code from my section in the pending changes window that I'm using to get the extensibility service when the user clicks one of my buttons (i.e. the Included button):
_pendingChangesService = this.GetService<IPendingChangesExt>(); var filteredChanged = _pendingChangesService.FilteredIncludedChanges; // This is always an empty array. var filterText = _pendingChangesService.IncludedChangesFilterText; // This is always an empty string.
The _pendingChangesService contains the 2 PendingChanges in the IncludedChanges array, but the FilteredIncludedChanges are always empty.
I'm also listening to the PropertyChanged event of the IPendingChangesExt, and the IncludedChanges event fires, but the FilteredIncludedChanges event never fire. The FilteredExcludedChanges and ExcludedChangesFilterText have the same problems.
It seems like these properties are simply not hooked up in the API (i.e. should throw a NotImplementedException). Am I doing something wrong here? Can you reproduce this? Any suggestions are appreciated. Thanks.
- Dan - "Can't never could do anything"