FuzzyMatcher

open class FuzzyMatcher : IPrefixMatcher

Implements the candidate matching algorithm used by CodeMirror 6.

Using this class ensures that the same candidates will be returned when filtering content assist proposals on the server as on the client.

The matching is "fuzzy" (fzf-like), i.e., the prefix characters may occur anywhere in the name, but must be in the same order as in the prefix.

Author

Kristóf Marussy

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard