-
Notifications
You must be signed in to change notification settings - Fork 120
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
Add streaming (partial results) support #395
Comments
Do you know of any LSPs that support this? I'm looking for something I can test against |
It looks like haskell might based on a preliminary search? Ada might as well Or rosalyn for C#/dotnet/whatever |
gopls support this |
Any idea how sorting results could be implemented? It seems like getting new results requires re-sorting all the results to get the correct sort order. I guess it might be possible to batch the sorts at a specific interval, for example. |
Is it possible to insert results into the correct sorted position, thus always maintaining a correctly sorted list? I'm not sure how sorting is implemented, though, so this might be difficult, especially if the sorting algorithm isn't stable. The insertions themselves could be batched at a specific interval to avoid repeatedly extending the list by one element. Or maybe sorting could be done on the fly, as the completion window is scrolled? We only need as much of the list sorted as is visible. Although this might not be viable when wrapping around backwards from the top of the list to the bottom. |
It returns |
Putting this into the backlog until I'm able to find an LSP that supports it |
I think clangd support partial results. |
I did some research (mainly for myself, please ignore if not useful):
Ran a bit out of time right now, but I can maybe look at clangd and see if streaming is supported. |
Ahh, I misunderstood, it sounds like the server sends the notifications to the client directly. I'll take another peak Edit: Still not able to find a server that supports it |
Feature Description
Doc https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#partialResultParams
Why need this: golang/go#69631
The text was updated successfully, but these errors were encountered: