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.

Add option to collapse all folders in root (#9372)

Jack Tb9f7a37f5dbd
diff --git a/crates/project_panel/src/project_panel.rs b/crates/project_panel/src/project_panel.rs
index cc18378717c..4d3ddb265ce 100644
--- a/crates/project_panel/src/project_panel.rs
+++ b/crates/project_panel/src/project_panel.rs
@@ -424,6 +424,7 @@ impl ProjectPanel {
});
}),
)
+ .action("Collapse All", Box::new(CollapseAllEntries))
})
})
.action("New File", Box::new(NewFile))