Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Refresh outline panel on file renames (#42104)
Kirill Bulatovd54c64f35ab5
diff --git a/crates/outline_panel/src/outline_panel.rs b/crates/outline_panel/src/outline_panel.rsindex 69f0857df51..ea9a8dec686 100644--- a/crates/outline_panel/src/outline_panel.rs+++ b/crates/outline_panel/src/outline_panel.rs@@ -5204,6 +5204,9 @@ fn subscribe_for_editor_events(outline_panel.update_cached_entries(Some(UPDATE_DEBOUNCE), window, cx);}}+ EditorEvent::TitleChanged => {+ outline_panel.update_fs_entries(editor.clone(), debounce, window, cx);+ }_ => {}}},