-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Go To Implementation show metadata results #59100
Conversation
7d3d803
to
1f5092e
Compare
Still investigating the integration test failures, unfortunately I can't seem to run them at all locally. |
@sharwell any pro tips for investigating the integration test failures? From the logs the exceptions seem to come from inside DTE, and whilst the failures are oddly related to what i'm working on (Find Refs vs Go To Impl) I don't believe any of the code I've changed could be at fault here. Most frustratingly I can't seem to run any integration tests locally at the moment, but manually executing things the scenarios certainly work. The error:
|
src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpGoToImplementation.cs
Show resolved
Hide resolved
note: we likely want to move this to be entirely streaming so that we're not blockign the find-impls results on doign all the search and conversion here of all these types. |
src/VisualStudio/Core/Def/Implementation/FindReferences/Entries/MetadataDefinitionItemEntry.cs
Show resolved
Hide resolved
...dio/Core/Def/Implementation/FindReferences/Filters/EntireSolutionAndExternalFilterFactory.cs
Outdated
Show resolved
Hide resolved
...dio/Core/Def/Implementation/FindReferences/Filters/EntireSolutionAndExternalFilterFactory.cs
Show resolved
Hide resolved
...dio/Core/Def/Implementation/FindReferences/Filters/EntireSolutionAndExternalFilterFactory.cs
Show resolved
Hide resolved
...Core/Def/Implementation/FindReferences/Filters/EntireSolutionWithoutMetadataFilterFactory.cs
Show resolved
Hide resolved
...dio/Core/Def/Implementation/FindReferences/Filters/EntireSolutionAndExternalFilterFactory.cs
Show resolved
Hide resolved
...Core/Def/Implementation/FindReferences/Filters/EntireSolutionWithoutMetadataFilterFactory.cs
Outdated
Show resolved
Hide resolved
src/VisualStudio/Core/Def/Implementation/FindReferences/Filters/ExternalSourcesFilterFactory.cs
Show resolved
Hide resolved
...ualStudio/Core/Def/Implementation/FindReferences/Filters/ExternalSourcesFilterHandlerBase.cs
Show resolved
Hide resolved
...ualStudio/Core/Def/Implementation/FindReferences/Filters/ExternalSourcesFilterHandlerBase.cs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tentative approval, pending:
- confirmation that the stock-vs experience with go-to-impl still shows source results first.
- some clarity on the current shape.
When I run From my understanding and experimentation however, nothing overrides user sorting/grouping/filtering in order to show source results first. It's certainly something I can raise with the editor team, but my preference would not be to block this PR on it, mainly because I'd rather get you, and everyone else, dogfooding it and see if people have usability issues, and we can always revert the PR. The issue is that it's trivial to issue a Go To Implementation command on IDisposable.DIspose() and show how problematic this can be, but I feel like thats looking for a problem. I'd rather wait and see if users natural GoToImpl scenarios are adversely affected by this change. |
...Core/Def/Implementation/FindReferences/Filters/EntireSolutionWithoutMetadataFilterFactory.cs
Outdated
Show resolved
Hide resolved
...ualStudio/Core/Def/Implementation/FindReferences/Filters/ExternalSourcesFilterHandlerBase.cs
Show resolved
Hide resolved
...ualStudio/Core/Def/Implementation/FindReferences/Filters/ExternalSourcesFilterHandlerBase.cs
Show resolved
Hide resolved
@sharwell you probably want to take a look at this, I had to make a bunch of integration test changes. Turns out that the presence of additional filters in the Find References window changes the window caption. Personally I prefer the Guid approach anyway, window caption feels more vulnerable to flakiness. |
This reverts commit e37f01d.
)" (dotnet#59376)" This reverts commit f087088.
Part of #58147
Looks like this:
