Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Activate correct item when clicking on a code action with the mouse
Julia80eaabd36032
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rsindex 0c9d8de9697..6070590d4f1 100644--- a/crates/editor/src/editor.rs+++ b/crates/editor/src/editor.rs@@ -1206,7 +1206,9 @@ impl CodeActionsMenu {workspace.update(cx, |workspace, cx| {if let Some(task) = Editor::confirm_code_action(workspace,- &Default::default(),+ &ConfirmCodeAction {+ item_ix: Some(item_ix),+ },cx,) {task.detach_and_log_err(cx);