You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, amazing work on the plugin system and Steel.
I'd like to build a Copilot-like plugin showing ghost/preview text suggestions in insert mode. Would need:
Ghost text display after cursor with different styling
Accept/reject suggestion functionality
Main questions:
Is there an existing API for ghost text?
If not, which codebase areas should I look at to implement this myself?
Before starting: would this kind of functionality be welcome in Helix?
The text was updated successfully, but these errors were encountered:
Ghost text should be possible to build at the plugin layer, I don't think there is an API for it yet. In theory you'd just need the dimensions of the current buffer window so that you can draw text with a different style. The component API should be sufficiently flexible to do the displaying with styling, alongside handling inputs for accepting and rejecting the suggestion, and for inserting whatever text should go there as well
As far as I can tell, you wouldn't need much functionality in Rust to achieve this, just the dimensions of the buffer window, which is probably fine to expose to steel. Given that, I think it should be fine to go forward with an implementation
First of all, amazing work on the plugin system and Steel.
I'd like to build a Copilot-like plugin showing ghost/preview text suggestions in insert mode. Would need:
Main questions:
Before starting: would this kind of functionality be welcome in Helix?
The text was updated successfully, but these errors were encountered: