Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

zeta: Request completion when jumping to diagnostic (#23292)

Agus Zubiaga0dda9851b3b1
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs
index 1212084b067..fcafa9f4b1f 100644
--- a/crates/editor/src/editor.rs
+++ b/crates/editor/src/editor.rs
@@ -9245,6 +9245,7 @@ impl Editor {
new_selection.collapse_to(primary_range_start, SelectionGoal::None);
s.select_anchors(vec![new_selection.clone()]);
});
+ self.refresh_inline_completion(false, true, cx);
}
return;
}
@@ -9320,6 +9321,7 @@ impl Editor {
goal: SelectionGoal::None,
}]);
});
+ self.refresh_inline_completion(false, true, cx);
}
break;
} else {