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

Release Notes:

- N/A

Co-authored-by: Antonio <antonio@zed.dev>
This commit is contained in:
Agus Zubiaga 2025-01-17 18:41:45 -03:00 committed by GitHub
parent 938e28f871
commit 0dda9851b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9245,6 +9245,7 @@ impl Editor {
new_selection.collapse_to(primary_range_start, SelectionGoal::None); new_selection.collapse_to(primary_range_start, SelectionGoal::None);
s.select_anchors(vec![new_selection.clone()]); s.select_anchors(vec![new_selection.clone()]);
}); });
self.refresh_inline_completion(false, true, cx);
} }
return; return;
} }
@ -9320,6 +9321,7 @@ impl Editor {
goal: SelectionGoal::None, goal: SelectionGoal::None,
}]); }]);
}); });
self.refresh_inline_completion(false, true, cx);
} }
break; break;
} else { } else {