Rename remaining mentions of "inline completion" to "edit prediction" (#35512)
Release Notes: - N/A
This commit is contained in:
parent
85885723a9
commit
65018c28c0
43 changed files with 480 additions and 498 deletions
|
@ -3808,7 +3808,7 @@ mod test {
|
|||
cx.update_editor(|editor, _window, cx| {
|
||||
let range = editor.selections.newest_anchor().range();
|
||||
let inlay_text = " field: int,\n field2: string\n field3: float";
|
||||
let inlay = Inlay::inline_completion(1, range.start, inlay_text);
|
||||
let inlay = Inlay::edit_prediction(1, range.start, inlay_text);
|
||||
editor.splice_inlays(&[], vec![inlay], cx);
|
||||
});
|
||||
|
||||
|
@ -3840,7 +3840,7 @@ mod test {
|
|||
let end_of_line =
|
||||
snapshot.anchor_after(Point::new(0, snapshot.line_len(MultiBufferRow(0))));
|
||||
let inlay_text = " hint";
|
||||
let inlay = Inlay::inline_completion(1, end_of_line, inlay_text);
|
||||
let inlay = Inlay::edit_prediction(1, end_of_line, inlay_text);
|
||||
editor.splice_inlays(&[], vec![inlay], cx);
|
||||
});
|
||||
cx.simulate_keystrokes("$");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue