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.

Always have cmd-o open a local project (#19376)

Conrad Irwin65fb2782eb73
diff --git a/crates/workspace/src/workspace.rs b/crates/workspace/src/workspace.rs
index 626d4d9c1de..5bb86442340 100644
--- a/crates/workspace/src/workspace.rs
+++ b/crates/workspace/src/workspace.rs
@@ -1897,11 +1897,7 @@ impl Workspace {
directories: true,
multiple: true,
},
- if self.project.read(cx).is_via_ssh() {
- DirectoryLister::Project(self.project.clone())
- } else {
- DirectoryLister::Local(self.app_state.fs.clone())
- },
+ DirectoryLister::Local(self.app_state.fs.clone()),
cx,
);