Add menu command to join worktree using URL on clipboard
Introduce rpc::Client struct that wraps zed_rpc::Peer
This commit is contained in:
parent
3a78f053f6
commit
7a88e44264
8 changed files with 294 additions and 167 deletions
|
@ -1,12 +1,10 @@
|
|||
use std::sync::Arc;
|
||||
|
||||
pub mod assets;
|
||||
pub mod editor;
|
||||
pub mod file_finder;
|
||||
pub mod language;
|
||||
pub mod menus;
|
||||
mod operation_queue;
|
||||
mod rpc;
|
||||
pub mod rpc;
|
||||
pub mod settings;
|
||||
mod sum_tree;
|
||||
#[cfg(test)]
|
||||
|
@ -20,7 +18,7 @@ mod worktree;
|
|||
pub struct AppState {
|
||||
pub settings: postage::watch::Receiver<settings::Settings>,
|
||||
pub language_registry: std::sync::Arc<language::LanguageRegistry>,
|
||||
pub rpc: Arc<zed_rpc::Peer>,
|
||||
pub rpc: rpc::Client,
|
||||
}
|
||||
|
||||
pub fn init(cx: &mut gpui::MutableAppContext) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue