Add search in directory action in the project panel
This commit is contained in:
parent
e002d9efb0
commit
595bc16749
5 changed files with 287 additions and 5 deletions
|
@ -512,7 +512,7 @@ pub struct Workspace {
|
|||
follower_states_by_leader: FollowerStatesByLeader,
|
||||
last_leaders_by_pane: HashMap<WeakViewHandle<Pane>, PeerId>,
|
||||
window_edited: bool,
|
||||
active_call: Option<(ModelHandle<ActiveCall>, Vec<gpui::Subscription>)>,
|
||||
active_call: Option<(ModelHandle<ActiveCall>, Vec<Subscription>)>,
|
||||
leader_updates_tx: mpsc::UnboundedSender<(PeerId, proto::UpdateFollowers)>,
|
||||
database_id: WorkspaceId,
|
||||
app_state: Arc<AppState>,
|
||||
|
@ -3009,6 +3009,10 @@ impl Workspace {
|
|||
self.database_id
|
||||
}
|
||||
|
||||
pub fn push_subscription(&mut self, subscription: Subscription) {
|
||||
self.subscriptions.push(subscription)
|
||||
}
|
||||
|
||||
fn location(&self, cx: &AppContext) -> Option<WorkspaceLocation> {
|
||||
let project = self.project().read(cx);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue