rust-lang / rust-lang/rust-analyzer
Generic argument inlay hints
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.9k
- Forks
- 2.2k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 72
Description
Similar-ish to https://github.com/rust-lang/rust-analyzer/issues/18007, we should visualize generic arguments in paths that were fully inferred by the context (where as https://github.com/rust-lang/rust-analyzer/issues/18007 / https://github.com/rust-lang/rust-analyzer/issues/11722 would want this specifically only for '_/_).
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 reading the related issues 18007 and 11722 to understand how their requested inlay hints differ from this proposal. Trace the existing generic-argument inlay-hint behavior in rust-analyzer, then verify that fully inferred generic arguments in paths are visualized while the narrower cases remain distinct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100