-
Notifications
You must be signed in to change notification settings - Fork 28
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
Complete word by word #86
Comments
I also noticed this, and this might be related to the latest announcements. |
I just tried to enable this using the same naming conventions as copilot.vim. {
"keys": ["alt+right"],
"command": "copilot_accept_word",
"context": [
{
"key": "setting.copilot.completion.is_visible"
}
]
}, I don't think LSP-copilot supports |
@jfcherng Does this seem feasible? From looking at the plugin code I think it is doable but I would need a bit more hand holding for a PR. # chop this up word by word instead of the entire completion text
self.view.insert(edit, source_line_region.end(), completion["completionText"]) |
I think you looked into a wrong place (panel completion). For normal autocompletion, it should be LSP-copilot/plugin/commands.py Line 184 in e6f295c
It's probably a little confusing since it may be not obvious from the UI that what will happen after completing a word because there is no preview for the "word" only. And after completing a word, what should happen to the UI? |
I've thought about this, and it only really makes sense if Sublime had Ghost text support. Come on HQ :( Without it, I would expect the completion popup to reappears with the completion text minus the accepted word. |
Sometimes a completion is partially correct, the first x words or lines. It might be neat to add a complete word command that can be continuously pressed to incrementally complete the current suggestion
The text was updated successfully, but these errors were encountered: