Skip to content

Hide library symbols from workspace symbol picker? #16137

Description

@ivxvm

I'm really confused to how workspace symbol picker works. My workspace is a Rust project, I have two files with code. What I expect is that workspace symbol picker works the same as regular symbol picker but shows symbols from both files instead of just one. What I get instead is that workspace symbol picker also shows any symbols from any libraries I use from ~/.cargo/registry/src/. Also for some reason it doesn't prefetch all symbols and only starts showing something after you type at least few characters, which makes it impossible to use to browse all symbols.

Is there a way to have something like normal symbol picker but for all files in project and without and external dependencies, and such that it shows all symbols immediately and not only when you type?

~ $ hx --version
helix 25.07.1 (a05c151b)

~ $ rust-analyzer --version
rust-analyzer 1.95.0 (5980761 2026-04-14)
~ $ cat ~/.config/helix/config.toml

theme = "rose_pine"

[editor]
bufferline = "multiple"

[editor.cursor-shape]
insert = "bar"
normal = "block"
select = "underline"

[editor.soft-wrap]
enable = true

[keys.normal]
"}" = "goto_next_paragraph"
"{" = "goto_prev_paragraph"
S-down = ["extend_to_line_bounds", "delete_selection", "paste_after"]
S-up = ["extend_to_line_bounds", "delete_selection", "move_line_up", "paste_before"]
C-s = ["save_selection", ":write"]
C-r = ":reload-all"

[keys.insert]
C-s = ["save_selection", ":write", "normal_mode"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions