-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Helix does not handle CompletionList::is_incomplete
#9797
Comments
This is jtoa bug but a feature we simply didn't implement yet. It was very hard to do woth the old completion infrastructure. #8021 revamped the infrastructure so it should be possible now but it won't be trivial |
Yea I saw the TODO comment haha when looking through the code How shall we move forward with this? |
is_incomplete
is_incomplete
well inI definitly want to see it implemented I just haven't been able to find the time to work on it yet. If somebody else puts forward a high quality implementation that would be great otherwise it can take some time |
I'm working on a real implementation. I currently have a working version with good design; I will clean it up and make a new PR soon. |
One confusing piece of behavior I ran into was the default This default is something I have never encountered in nvim-cmp, vscode, jetbrains ... and I wonder if it should be the default? Of course, I will be happy to instruct that users configure the default to 1 in my language server's repo... |
👍 |
Hey! This is still super important for oxide! Is there an update? Maybe just a few more steps to get it shipped? Anything I can do? |
Implemented in 5c1f3f8 🚀 |
Summary
My language server moxide frequently uses is_incomplete as it filters the (many thousands) of completions on the server before sending to the client.
As shown in the video, it seems that helix does not respond to is_incomplete (except when the helix lsp client has filtered out all completions). The video compares helix to neovim with nvim-cmp
Reproduction Steps
Install markdown oxide
cargo install --git https://github.com/Feel-ix-343/markdown-oxide.git markdown-oxide
Launch helix in a vault of md files; You can test on the same files as I did by cloning the https://github.com/Feel-ix-343/markdown-oxide/tree/main/TestFiles folder and launching from there. You may need to initialize git in that folder after cloning
Helix log
~/.cache/helix/helix.log
Platform
Linux
Terminal Emulator
alacritty
Installation Method
arch linux helix-git
Helix Version
23.10 (cc43e35)
The text was updated successfully, but these errors were encountered: