Add menu command to join worktree using URL on clipboard

Introduce rpc::Client struct that wraps zed_rpc::Peer
This commit is contained in:
Max Brunsfeld
2021-06-17 20:42:36 -07:00
parent 3a78f053f6
commit 7a88e44264
8 changed files with 294 additions and 167 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
use crate::{language::LanguageRegistry, settings, time::ReplicaId, AppState};
use crate::{AppState, language::LanguageRegistry, rpc, settings, time::ReplicaId};
use ctor::ctor;
use gpui::AppContext;
use rand::Rng;
@@ -150,6 +150,6 @@ pub fn build_app_state(cx: &AppContext) -> AppState {
AppState {
settings,
language_registry,
rpc: zed_rpc::Peer::new(),
rpc: rpc::Client::new(),
}
}