Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
debugger: Add a tooltip to the session picker with the session ID (#33331)
Cole Miller17774b17fb5f
diff --git a/crates/debugger_ui/src/session.rs b/crates/debugger_ui/src/session.rsindex e0e61268674..ce6730bee77 100644--- a/crates/debugger_ui/src/session.rs+++ b/crates/debugger_ui/src/session.rs@@ -11,7 +11,7 @@ use project::worktree_store::WorktreeStore;use rpc::proto;use running::RunningState;use std::{cell::OnceCell, sync::OnceLock};-use ui::{Indicator, prelude::*};+use ui::{Indicator, Tooltip, prelude::*};use workspace::{CollaboratorId, FollowableItem, ViewId, Workspace,item::{self, Item},@@ -153,6 +153,8 @@ impl DebugSession {};h_flex()+ .id("session-label")+ .tooltip(Tooltip::text(format!("Session {}", self.session_id(cx).0,))).ml(depth * px(16.0)).gap_2().when_some(icon, |this, indicator| this.child(indicator))