Skip to content
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

Find results in related 'partial type parts' when doing a scoped nav-to search. #77074

Merged
merged 14 commits into from
Feb 6, 2025

Conversation

CyrusNajmabadi
Copy link
Member

@CyrusNajmabadi CyrusNajmabadi commented Feb 6, 2025

Fixes #77051

Teh idea here is that even if the nav-to search is scoped to a document, we'll search the other partial parts (in other documents) of the types found in the current file, as well as the other types in the inheritance chain.

The idea (from teh AOISP team themselves) is that people are really trying to scope down to get to "the members in the type they are in". So they want the members even in the inheritance hierarchy and in the other parts of the partial type. Thsi allows splitting a type into many parts across files, without feeling like you can't find the relevant info for it easily.

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Feb 6, 2025
@CyrusNajmabadi CyrusNajmabadi changed the title Allow more results than just the original file in nav to searches Find results in related 'partial type parts' when doing a scoped nav-to search. Feb 6, 2025
…hen they have a large number of elements in them

Search related type sections in other documents when doing a document-filtered nav to search

Use null for simplicity

Apply suggestions from code review

Keep around large array instances for speedometer

Use a separate pool

Make consistent

Revert

Expose similar api on string builder
@CyrusNajmabadi CyrusNajmabadi marked this pull request as ready for review February 6, 2025 01:28
@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner February 6, 2025 01:28
Copy link
Contributor

@ToddGrun ToddGrun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead VSCode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NavTo: Enhance "Current Document" scope with results from base types and partial types
2 participants