Feature request: Contains matching and number-key selection for tag autocomplete
Currently, the tag autocomplete uses prefix matching: it only suggests existing tags when the user types from the beginning of the tag. In practice, users often remember only a word or phrase somewhere in the middle or at the end of a tag, not necessarily the exact beginning. As a result, it can be difficult to find an existing tag, and users may accidentally create a new tag that is essentially the same as an existing one.
Proposal 1: Add substring/contains matching to tag autocomplete
When the user types a query, the dropdown should show existing tags that contain the query anywhere in the tag, not only those that start with it. Ideally, prefix matches could still be ranked first, followed by other contains matches. This could be a default behavior or an optional setting if performance is a concern.
Proposal 2: Add number labels for keyboard selection in the dropdown
Each candidate tag in the autocomplete dropdown could be prefixed with a number, such as 1, 2, 3, etc. While the dropdown is open, pressing the corresponding number key would directly insert that tag, without requiring a mouse click. This would allow users to select tags entirely from the keyboard and make the workflow much more efficient.
Example: If the dropdown shows:
machine-learning
deep-learning
learning-theorypressing 1 would insert machine-learning, pressing 2 would insert deep-learning, and so on.
Benefits:
Users can find existing tags even when they only remember part of the tag.
Tag entry becomes faster and more keyboard-friendly.
Users are less likely to create duplicate or synonymous tags.
Overall tag organization and consistency improve.
Source: zotero/zotero