contextless autocompletions for rustdoc search
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining the rustdoc search UI and how its documentation workspace and search index expose identifiers. The proposed result should provide a responsive autocomplete popover with about six possibilities, combining crate names, indexed identifiers, and rustdoc kind filters.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- documentation
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100