Allow pasting ZED urls in the command palette in development

This commit is contained in:
Conrad Irwin 2023-10-16 20:03:44 -06:00
parent 2feb091961
commit 6ffbc3a0f5
10 changed files with 245 additions and 208 deletions

View file

@ -288,6 +288,7 @@ pub fn init(app_state: Arc<AppState>, cx: &mut AppContext) {
cx.add_global_action(restart);
cx.add_async_action(Workspace::save_all);
cx.add_action(Workspace::add_folder_to_project);
cx.add_action(
|workspace: &mut Workspace, _: &Unfollow, cx: &mut ViewContext<Workspace>| {
let pane = workspace.active_pane().clone();