From 48c85550764114c23700069c7175559fa0dbfb0c Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Thu, 3 Jul 2025 12:15:50 +0300 Subject: [PATCH] Show more info in the UI and logs (#33841) Addresses the `The binding is not displayed, though:` part from https://github.com/zed-industries/zed/discussions/29498#discussioncomment-13649543 Release Notes: - N/A --- crates/task/src/vscode_format.rs | 5 ++++- crates/workspace/src/pane.rs | 4 +--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/crates/task/src/vscode_format.rs b/crates/task/src/vscode_format.rs index 8f04b48127..9078a73fbb 100644 --- a/crates/task/src/vscode_format.rs +++ b/crates/task/src/vscode_format.rs @@ -47,7 +47,10 @@ impl VsCodeTaskDefinition { replacer: &EnvVariableReplacer, ) -> anyhow::Result> { if self.other_attributes.contains_key("dependsOn") { - log::warn!("Skipping deserializing of a task with the unsupported `dependsOn` key"); + log::warn!( + "Skipping deserializing of a task `{}` with the unsupported `dependsOn` key", + self.label + ); return Ok(None); } // `type` might not be set in e.g. tasks that use `dependsOn`; we still want to deserialize the whole object though (hence command is an Option), diff --git a/crates/workspace/src/pane.rs b/crates/workspace/src/pane.rs index fccf0ef8c2..56db7fa570 100644 --- a/crates/workspace/src/pane.rs +++ b/crates/workspace/src/pane.rs @@ -2735,9 +2735,7 @@ impl Pane { .when(visible_in_project_panel, |menu| { menu.entry( "Reveal In Project Panel", - Some(Box::new(RevealInProjectPanel { - entry_id: Some(entry_id), - })), + Some(Box::new(RevealInProjectPanel::default())), window.handler_for(&pane, move |pane, _, cx| { pane.project .update(cx, |_, cx| {