How can I define a completion sorter?
I don't want to modify the completions but simply sort them differently before the user can see them, how can I do that?
I noticed that `CompletionSorter` has a `withRelevanceSorter()` method but that method merely returns a new sorter, it doesn't modify the current `CompletionResultSet`.
请先登录再写评论。
this may help:
https://github.com/JetBrains/intellij-community/blob/210e0ed138627926e10094bb9c76026319cec178/platform/lang-api/src/com/intellij/codeInsight/completion/CompletionContributor.java#L108-L112
;)
That worked, thanks!