Rename remaining mentions of "inline completion" to "edit prediction" (#35512)

Release Notes:

- N/A
This commit is contained in:
Michael Sloan 2025-08-04 10:22:18 -06:00 committed by GitHub
parent 85885723a9
commit 65018c28c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
43 changed files with 480 additions and 498 deletions

View file

@ -162,7 +162,7 @@ impl InlineAssistant {
let window = windows[0];
let _ = window.update(cx, |_, window, cx| {
editor.update(cx, |editor, cx| {
if editor.has_active_inline_completion() {
if editor.has_active_edit_prediction() {
editor.cancel(&Default::default(), window, cx);
}
});
@ -231,8 +231,8 @@ impl InlineAssistant {
);
if DisableAiSettings::get_global(cx).disable_ai {
// Cancel any active completions
if editor.has_active_inline_completion() {
// Cancel any active edit predictions
if editor.has_active_edit_prediction() {
editor.cancel(&Default::default(), window, cx);
}
}