Skip to content

Conversation

@darichey
Copy link
Contributor

@darichey darichey commented Dec 3, 2024

The status bar can become a bit crowded with many extensions adding status bar items. rust-analyzer can be a good citizen and hide itself unless the user is looking at relevant files.

I've set the default to show on Rust files and Cargo.toml. It could be reasonable to instead keep the current always-show behavior as the default, just giving users the option to configure it. I'm open to discussion!

This could also be a workaround for #15068.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 3, 2024
@darichey darichey force-pushed the status-bar-visibility branch from 750bb7c to 8c2910d Compare December 3, 2024 14:26
@darichey darichey force-pushed the status-bar-visibility branch from 8c2910d to cf80ddd Compare December 3, 2024 14:40
@Veykril Veykril enabled auto-merge December 3, 2024 14:44
@Veykril Veykril added this pull request to the merge queue Dec 3, 2024
Merged via the queue into rust-lang:master with commit a74c90b Dec 3, 2024
9 checks passed
@darichey darichey deleted the status-bar-visibility branch December 3, 2024 15:11
@bjorn3
Copy link
Member

bjorn3 commented Feb 27, 2025

So this is why I couldn't find the status bar item for rust-analyzer in some cases even when rust-analyzer is busy running. This makes it harder to stop rust-analyzer when it is interfering with things.

Edit: Found "rust-analyzer.statusBar.showStatusBar": "always" to revert back to the old behavior.

@Veykril
Copy link
Member

Veykril commented Feb 27, 2025

I am honestly tempted to change the default to always, I've seen a lot of people confused by this behavior (rightfully so)

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

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants