Feature Request: Prevent Multi-line Suggestions from Disappearing on Matching First Character #10072
Replies: 1 comment
-
|
Here are some of my ideas of to implement this feature. Modified
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the Problem
When using Continue's multi-line code suggestions (e.g., generated by LLMs), the suggestion dismisses immediately if I type the first character that matches the suggestion's first character. This creates a frustrating UX loop:
Example scenario:
Code :
Suggestion :
a + bIf I type
a(which matches the suggestion's first character), the entire multi-line suggestion vanishes instantly. This is really annoying as it makes the suggestion appear for a splite time.This behavior is particularly painful for:
{,(,;,return,if, etc.Expected behavior (like GitHub Copilot or Cursor): The suggestion should persist as long as subsequent characters continue matching, even if the first character matches exactly.
Wanted behaviour
Modify the suggestion dismissal logic to handle multi-line completions more gracefully:
Head-match persistence
Update the suggestion to remove the matching caracter typed.
Proposed solutions
Beta Was this translation helpful? Give feedback.
All reactions