-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split the display text into regions and display with multiple phantoms #53
Comments
FYI, this wouldn't work if the completion is longer than lines in the view. So if the view is 3 lines long and the completion is 5 lines, it would need to be split into 3 regions. Region 1: 1 Line |
I think he means inline completion gives a single phantom which contains text already in the view atm. |
Yeah, the idea of this issue is to parse the completion text before displaying the ghost text. Like on the picture above, the I will add more details to the issue later on. Also, most likely this issue is valid only for single-line completion. |
I'll take a stab at this |
There is also an extreme case when you a completion should be split into multiple regions. |
@TheSecEng I've added some scenarios to the card description. |
Scenarios
Expected regions:
nt"
Expected regions:
nil values
anddo
The text was updated successfully, but these errors were encountered: