Fuzzy matching in tag entry autocompletion

I have some tags that use hyphens to include more than one word - sometimes for extra context, sometime as “aliases” to group together similar tags under one general concept tag. It would be nice if when entering a tag, it would match any portion of the tag with what I have typed

Hypothetical example: there’s a tag called #pet-dog-cat-wallaby

If I type #cat, #pet-dog-cat-wallaby would appear in the autocomplete, which could then be selected if it hasn’t been fully narrowed down already. The full tag (#pet-dog-cat-wallaby) would then be entered into the document rather than have any sort of actual alias functionality.

I assume that some version of what already exists for the [[link]] autocompletion would be relatively easy to port to tags.

Thanks for the consideration!

7 Likes

3 posts were merged into an existing topic: Make tag search matching fuzzy