Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Show more info in the UI and logs (#33841)

Kirill Bulatov48c855507641
diff --git a/crates/task/src/vscode_format.rs b/crates/task/src/vscode_format.rs
index 8f04b48127c..9078a73fbb1 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<Option<TaskTemplate>> {
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 fccf0ef8c26..56db7fa5700 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| {