Sort @deprecated completions lower than others#43816
Sort @deprecated completions lower than others#43816sangxxh wants to merge 1 commit intomicrosoft:masterfrom sangxxh:issue/43796-sort-deprecated-completions-lower-than-others
Conversation
sangxxh
left a comment
There was a problem hiding this comment.
Sorry, where can I write tests for the session?
I've tried verify.completions but it's not testing this method in Session.
|
There's "something" in VSCode that's still re-ordering the suggestions. Debugging https://github.com/microsoft/vscode/tree/main/extensions/typescript-language-features shows that the server response looks correct: But the suggestions shown to the UI differs, Test Code:Trace when trigger completions in VSCode |
sheetalkamat
left a comment
There was a problem hiding this comment.
If the issue is committed (its still suggestion and not scheduled for milestone nor in backlog), this isn't right way to fix but instead to update sortText property with new enum value.
|
There seems to be another PR #43880 doing this same thing |
|
Ah, do we create overriding PRs just like that 😬 |


Fixes #43796