microsoft / microsoft/qdk

Language Server: Add Local Kind to Hover Card for Locals

Open
#650 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement language server
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.