feat: second set of autocomplete improvements

- support typing as suggested functionality
- do not fetch completions on cursor change
- other minor fixes
This commit is contained in:
Carl-Robert Linnupuu 2024-02-11 01:26:55 +02:00
parent 056276d626
commit 4ed74a31c1
9 changed files with 179 additions and 56 deletions

View file

@ -8,6 +8,8 @@ import java.util.List;
public class CodeGPTKeys {
public static final Key<String> PREVIOUS_INLAY_TEXT =
Key.create("codegpt.editor.inlay.prev-value");
public static final Key<Inlay<EditorCustomElementRenderer>> SINGLE_LINE_INLAY =
Key.create("codegpt.editor.inlay.single-line");
public static final Key<Inlay<EditorCustomElementRenderer>> MULTI_LINE_INLAY =