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

Autocomplete: Don't cull symbols that are defined in common import paths #1046

Merged
merged 2 commits into from
Sep 13, 2023

Conversation

philipp-spiess
Copy link
Contributor

This is a small regression from the last changes. We were only filtering out these common imports path when loading the files into the content map, however if the location of a symbol would end up being inside a common import, we would still include its hover tooltips. We would not have a symbol name then, though, because that would require us to read the ranges of these files which we haven't loaded.

So this PR filters out all locations in these ultra common imports

Test plan

Before

Screenshot 2023-09-13 at 16 00 00

After

Screenshot 2023-09-13 at 15 59 39

Copy link
Contributor

@efritz efritz left a comment

Choose a reason for hiding this comment

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

Ty!

@philipp-spiess philipp-spiess merged commit c2d0a91 into main Sep 13, 2023
10 checks passed
@philipp-spiess philipp-spiess deleted the ps/ac-gc-filter-common-imports branch September 13, 2023 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants