diff --git a/crates/editor/src/tasks.rs b/crates/editor/src/tasks.rs
index 8444849b5b..361fab7559 100644
--- a/crates/editor/src/tasks.rs
+++ b/crates/editor/src/tasks.rs
@@ -1,93 +1,73 @@
use crate::Editor;
-use gpui::{App, AppContext as _, Task as AsyncTask, Window};
+use gpui::{App, Task, Window};
use project::Location;
use task::{TaskContext, TaskVariables, VariableName};
use text::{ToOffset, ToPoint};
-use workspace::Workspace;
-fn task_context_with_editor(
- editor: &mut Editor,
- window: &mut Window,
- cx: &mut App,
-) -> AsyncTask