Skip to content

Completion Sort Order: Frequency/Recency #639

Description

@kevinjalbert

The sort order of the auto-completion appears to be alphabetical. Would it be possible to do it based on frequency of the URI/link, or recency of the files?

My reasoning is that an infrequently used link might always be 'top' pick even though it isn't referenced often. I'm personally seeing this with using people's names as links, based on the size of the knowledge base there are names that aren't currently relevant but show up before the name I want to use (which is used more frequently/recently).

I didn't spend too much time looking into it, but It seems like memo pulls together all the links in a cache on boot. Would it be possible to have this cache also store alongside it the number of 'occurrences' and/or the most recent timestamp of the file it was used in, and that could be used to influence the sort order?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions