Skip to content

contextless autocompletions for rustdoc search #131708

Open
@lolbinarycat

Description

@lolbinarycat

recently i've come up with a "stateful prefix search" algorithm that allows fast prefix-based autocompletions from a pool of identifiers.

this algorithm should be fast enough to be responsive even on old devices.

this would provide a autocompletion popover with ~6 possibilites for identifiers.

these identifiers would be built from all crate names in the documentation workspace, all identifiers in the search index, and all rustdoc kind filters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-searchArea: Rustdoc's search featureC-enhancementCategory: An issue proposing an enhancement or a PR with one.T-rustdoc-frontendRelevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions