Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ju5tevg3niy opened this issue Dec 11, 2024 · 1 comment · May be fixed by #18722
Open

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

ju5tevg3niy opened this issue Dec 11, 2024 · 1 comment · May be fixed by #18722
Labels
A-vscode vscode plugin issues C-feature Category: feature request

Comments

@ju5tevg3niy
Copy link

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.

@ju5tevg3niy ju5tevg3niy added the C-feature Category: feature request label Dec 11, 2024
@lnicola lnicola added the A-vscode vscode plugin issues label Dec 11, 2024
@Veykril
Copy link
Member

Veykril commented Dec 12, 2024

Yes I agree, this is incredibly annoying actually, we should add a value to the config to have it be always shown (just like how setting it null hides it fully)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-vscode vscode plugin issues C-feature Category: feature request
Projects
None yet
3 participants