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
This commit is contained in:
parent
06ddc74917
commit
48c8555076
2 changed files with 5 additions and 4 deletions
|
@ -47,7 +47,10 @@ impl VsCodeTaskDefinition {
|
||||||
replacer: &EnvVariableReplacer,
|
replacer: &EnvVariableReplacer,
|
||||||
) -> anyhow::Result<Option<TaskTemplate>> {
|
) -> anyhow::Result<Option<TaskTemplate>> {
|
||||||
if self.other_attributes.contains_key("dependsOn") {
|
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);
|
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),
|
// `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),
|
||||||
|
|
|
@ -2735,9 +2735,7 @@ impl Pane {
|
||||||
.when(visible_in_project_panel, |menu| {
|
.when(visible_in_project_panel, |menu| {
|
||||||
menu.entry(
|
menu.entry(
|
||||||
"Reveal In Project Panel",
|
"Reveal In Project Panel",
|
||||||
Some(Box::new(RevealInProjectPanel {
|
Some(Box::new(RevealInProjectPanel::default())),
|
||||||
entry_id: Some(entry_id),
|
|
||||||
})),
|
|
||||||
window.handler_for(&pane, move |pane, _, cx| {
|
window.handler_for(&pane, move |pane, _, cx| {
|
||||||
pane.project
|
pane.project
|
||||||
.update(cx, |_, cx| {
|
.update(cx, |_, cx| {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue