diff --git a/crates/diagnostics/src/diagnostics.rs b/crates/diagnostics/src/diagnostics.rs index a2793b1fff..87c0e20678 100644 --- a/crates/diagnostics/src/diagnostics.rs +++ b/crates/diagnostics/src/diagnostics.rs @@ -34,7 +34,7 @@ use std::{ use util::TryFutureExt; use workspace::{ item::{Item, ItemEvent, ItemHandle}, - ItemNavHistory, Pane, Workspace, + ItemNavHistory, Pane, ToolbarItemLocation, Workspace, }; actions!(diagnostics, [Deploy]); @@ -655,6 +655,14 @@ impl Item for ProjectDiagnosticsEditor { Some("diagnostics") } + fn breadcrumbs(&self, theme: &theme::Theme, cx: &AppContext) -> Option> { + self.editor.breadcrumbs(theme, cx) + } + + fn breadcrumb_location(&self) -> ToolbarItemLocation { + ToolbarItemLocation::PrimaryLeft { flex: None } + } + fn deserialize( project: ModelHandle, workspace: WeakViewHandle,