-
Notifications
You must be signed in to change notification settings - Fork 8
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
Duplicate entries in completions #92
Comments
I will try to setup Zed on Linux and checkout what happens |
I think I could reproduce it, even with VSCode |
Completely unsure what's causing this, my extension literally just downloads and runs the language server with the |
So it appears the duplicate only appears in zed when im typing it on the same line. Screen.Recording.2024-05-30.at.09.48.36.mov |
I think a fix will be there in the next few weeks, as I currently have a lot of other work to do :/ But feel free to investigate it yourself |
Describe the bug
The language server generates duplicate entries when providing completions.
To Reproduce
Steps to reproduce the behavior:
$HOME/.local/bin
directory$HOME/.local/bin
is in your$PATH
firstproject
lineversion
you see duplicate entriesExpected behavior
There should only be one entry for each lsp completion item when typing.
Screenshots/Screencasts
System info
Additional context
I was writing an extension for the Zed editor to add lsp and higlighting support for meson, when working on a hobby project with my own extension I noticed duplicates in that editor as well. I thought this might be some code in my extension so I commented out the bit of code used for adding color to suggestions, however even after removing said code and rebuilding the duplicate entry persisted. Given this seems to be persistent across multiple editors, extensions, and environments it seems to be a bug.
It should also be noted the first and second entries act different, with the first one being bugged.
Screen.Recording.2024-05-30.at.01.45.39.mov
The text was updated successfully, but these errors were encountered: