Workspace symbol picker not getting more symbols until current batch has no matches #7867
-
SummaryThe workspace symbol picker is not getting new symbols while typing until there are no matches from the current batch. The single-file symbol picker seems to be working fine. The symbol counter in the top right of the left pane of the picker is also updating strangely. While the single-file picker narrows down from the original number, like 400/400 --> 24/400, the workspace picker has both numbers go down, like 128/128 --> 22/22. Even accounting for an unknown initial total number of symbols, I would expect the number to stick at 128/128 until I narrow down enough and the count would drop to something like 22/128.
Reproduction StepsI tried this: In a big rust file with way more than 128 symbols.
Helix log
PlatformNixOS 23.05 Terminal Emulatoralacritty 0.13.0-dev Helix Versionhelix 23.05 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
What does the log say when running in verbose mode? Do you have the |
Beta Was this translation helpful? Give feedback.
-
I have With
followed by the query results
I'll try this on a file where I don't care about pasting all the code. Edit: In a twist that probably does not surprise you at all, I can't reproduce this in a file generated by this python script:
Edit 2: Or this one:
|
Beta Was this translation helpful? Give feedback.
Looks like rust-analyzer has a default bias towards structs that the local symbol picker does not share.
With a file generated by this script:
Workspace symbol picker:
Single-file symbol picker:
Edit:
Currently trying to apply the configuration option for
"rust-analyzer.workspac…