[rust-analyzer] Workspace symbol picker should search the same symbol types as the single-file symbol picker #8256
Unanswered
willhansen
asked this question in
General
Replies: 1 comment
-
There seem to be some performance concerns about changing the default rust-lang/rust-analyzer#14553 (comment). You can also append In the meantime adding this t your personal config is a very simple workaround |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The Problem
With rust, the workspace symbol picker and the single-file symbol picker have different search behavior, even with a single file in the project. This is unintuitive, and the default behavior should be that they are the same.
Reproduction:
With a file generated by this python script:
Workspace symbol picker:

Single-file symbol picker:

The Fix
This can by fixed with this
language.toml
file, making both symbol pickers include functions from the beginning:This should be set by default.
(continued from discussion: #7867)
Beta Was this translation helpful? Give feedback.
All reactions