Skip to content

Size hints don't appear if you have multiple rust workspaces open (VSCode or zed) #19831

Open
@AlexEne

Description

@AlexEne
Member

rust-analyzer version: 0.4.2465 (any really)
rustc version: (eg. output of rustc -V) 1.87 (any version)

editor or extension: tried both VSCode and Zed

relevant settings: I have more than one workspace folder open in VSCode (or zed).

If I have more than one rust workspace open in vscode or zed, the size hint you get when you hover a struct doesn't appear. Let's say I have both WorkspaceA and WorkspaceB opened in VSCode (or zed). Hovering an enum definition from workspace A doesn't show the size info.
If I open only one workspace folder (WorkspaceA), size hints for that exact enum appear as expected.

Issue is visible with enum or data structure.

Activity

shrimpwtf

shrimpwtf commented on May 23, 2025

@shrimpwtf

I'm getting a similar bug but in workspaces errors aren't showing, showing in wrong and unrelated places, fix the error and still underlined it's absolutely bugged out tried many different versions of rust-analyzer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-project-modelproject model and workspace related issuesC-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @lnicola@AlexEne@shrimpwtf

        Issue actions

          Size hints don't appear if you have multiple rust workspaces open (VSCode or zed) · Issue #19831 · rust-lang/rust-analyzer