From d54c64f35ab54bf4060879bc84a79ae583387512 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Thu, 6 Nov 2025 16:46:46 +0200 Subject: [PATCH] Refresh outline panel on file renames (#42104) Closes https://github.com/zed-industries/zed/issues/41877 Release Notes: - Fixed outline panel not updating file headers on rename --- crates/outline_panel/src/outline_panel.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/outline_panel/src/outline_panel.rs b/crates/outline_panel/src/outline_panel.rs index 69f0857df517724c70359b5043125765b83c29b1..ea9a8dec6868ac49f407ac51b63219289b770770 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); + } _ => {} } },