remoting: Allow Add/Remove remote folder (#14532)

Release Notes:

- remoting (alpha only): Allow add/remove folders to projects

---------

Co-authored-by: Max <max@zed.dev>
This commit is contained in:
Conrad Irwin
2024-07-16 12:01:59 -06:00
committed by GitHub
co-authored by Max
parent be1387fee6
commit 62ab6e1a11
32 changed files with 612 additions and 239 deletions
+1 -1
View File
@@ -935,7 +935,7 @@ impl Item for Editor {
.context("No path stored for this editor")?;
let (worktree, path) = project
.find_local_worktree(&path, cx)
.find_worktree(&path, cx)
.with_context(|| format!("No worktree for path: {path:?}"))?;
let project_path = ProjectPath {
worktree_id: worktree.read(cx).id(),
@@ -79,7 +79,7 @@ impl EditorLspTestContext {
let mut cx = VisualTestContext::from_window(*window.deref(), cx);
project
.update(&mut cx, |project, cx| {
project.find_or_create_local_worktree("/root", true, cx)
project.find_or_create_worktree("/root", true, cx)
})
.await
.unwrap();