Add support for completion behind user's cursor
To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.
Example of Cursor (the Vscode fork) prediction suggesting changes before and after the cursor point:
In Cursor, when a completion is forward only, it looks like the normal ghost text. When the suggestion includes a completion behind the users cursor, the editor displays the suggestion to the right side as a small window.
@AndiLavera can you elaborate this one with more examples/code? I think it makes sense to match cursor, but I'm not sure I got what was completed from that image / what we should support exactly
Please ignore the contents of the code. I was clicking around, letting Cursor tab complete drive itself.
Suggestions that I would say are "behind the users cursor":
Other potentially interesting views:
For these two, it looks like if the suggestion has any removals, Cursor displays the floating window instead of ghost text.