Skip to content

Add setting to always show status bar item in vscode #18665

@ju5tevg3niy

Description

@ju5tevg3niy

Hello. Recent pull #18592 has changed the default behavior of the vscode's rust-lang.rust-analyzer extension to hide the status bar item unless certain types of files are open.

I believe it should have a setting to always show the status bar item. There might be multiple use cases to that, one of which is to know whether the server is running and start/stop it when needed (e.g. I don't need it all the time while vscode is open, but keeping it running wastes a significant portion of RAM (more than 1GiB even for a small project)), but opening a .rs/cargo.toml file every time to check it's status seems unnecessary.

Setting rust-analyzer.statusBar.documentSelector to {"pattern": "**"} doesn't work when no editors are open.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-vscodevscode plugin issuesC-featureCategory: feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions