Language Server: Add Local Kind to Hover Card for Locals
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1k
- Forks
- 212
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 65
Description
It would be a nice to add a little more information to the hover cards for locals, by way of adding the appropriate declaration keyword to the the local's hover card. i.e. `let`, `mutable`, `use`, `borrow` and nothing for for-loop iterators.
This needs looking into to see how this can be done and further design considerations.
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 locating the language server's hover-card handling for locals and the declaration information available for `let`, `mutable`, `use`, `borrow`, and for-loop iterators. Review the design considerations before choosing an approach; done means the hover card shows the appropriate keyword, or no keyword for iterators, with behavior agreed and covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers, devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100