View source
class SimpleCompletionMatcher
package moonshine.editor.text.lsp.managers.completion
implements ICompletionMatcher
Checks if the CompletionItem
text starts with the filter text.
Filtering:
- Case-insensitive. Calls
toLowerCase()
on all text. - The
CompletionItem
text must start with the filter text.
Sorting:
- A case-insensitive string comparison.