Replies: 3 comments
-
|
What does the LSP spec mention about that? IIRC some LSs clearly don't sort anything and leave it to the IDE to go for sorting heuristic (Based on similarity or other deduced data). Maybe there is a capability to clarify what strategy to use? |
Beta Was this translation helpful? Give feedback.
-
|
The LSP spec is pretty detailed about this. It is something along the lines of:
This section describes this in more detail: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_completion And I think LSP4E follows this logic (at least to a certain degree). |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for your replies, I'll check the documentation to try to keep the semantic order or my language client side. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I was wondering why the LSContentAssistProcessor is sorting completion proposals from the server ?
Is there a way to keep the server completion proposal order ?
Beta Was this translation helpful? Give feedback.
All reactions