Tag autocomplete when adding tag to item could be better

When I want to add a tag to an item, I get autocomplete suggestions only for tags that contain what I have typed at the beginning.

It would be nice to extend this, such that tags that match partially anywhere in the tag name are also suggested.

For example, currently, I have the following tag name in my library: "Transcription_Factor"

If I attempt to add a tag to an item, and start typing "Transcrip...", I get the useful autocomplete suggestion "Transcription_Factor". However, if I typed instead "Factor", I never get the suggestion for "Transcription_Factor".
  • The Filter Tags search box in the tags panel however has the behavior I prefer. There, if I type "factor", it shows the tag "Transcription_Factor".

    Could this behavior be ported to the input box used to add a new tag to an item?
  • +1 ... This would be extremely useful. Nested tags would be nice too :)

    Thanks to the devs for all the hard work... Zotero 7 is great.
  • I was just coming to see if this had been done yet . . . there was talk of it being in I think 6 as a popular ask.
    Now I see we're at 7 . . . . . . .
    is the Add Tag autocomplete like this now? search any part of tags, like the tag filter area?
  • edited August 19, 2024
    @moore.709 It is not yet, I am on 7.

    But 7 is great nonetheless! Though this would be a nice tiny improvement :)
  • soooo nice . . . I am always searching first in the filter area and it burns a lot of time
  • it has been long planned . . . will be great when we can do it!

    As a – how can we say it - classic zotero user, I am super interested in tag management as much as or even more than notes
  • In case anyone is still looking for this, I made a small plugin that does exactly this. It is called Zotero Tag Recommender. It supports multi-word autocomplete, not just first-word matching. In other words, you can type the beginning of any word in a tag (e.g. “gas”, “diff”, or “GDE”) and it will still match “gas diffusion electrode (GDE)”.
    https://github.com/kinranlau/zotero_tag_recommender

    My library has only ~1000 tags, so it works smoothly for me without noticeable performance issues, though larger libraries might behave differently.

    I know this feature has been discussed by the Zotero devs for a while, so hopefully it will make it into a future release in a more optimized form. In the meantime, I thought my plugin might be useful. My plugin also optionally includes AI tag suggestions from a paper’s title and abstract (API key required for that part, but not for autocomplete).

    Feel free to take a look if it is useful to anyone.
Sign In or Register to comment.