microsoft / microsoft/language-server-protocol
Pass the current selection for a Hover Request
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 13k
- Forks
- 1k
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 10
Description
In some languages, such as Haskell, it is meaningful to show the type of an expression, rather than just an identifier.
To allow this, extend the Hover Request to also include a Range if the selection is active.
At the moment in the haskell vscode plugin this is done in a roundabout way using workspace/executeCommand, which means it has to be separately implemented in each client.
Contributor guide
No contributing guide indexed for this repository
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 with the Hover Request definition in the language-server-protocol repository and review the protocol text around its parameters and Range. The work is complete when an active selection can be sent as an optional Range in a hover request, supporting expression hovers without client-specific command workarounds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell, typescript
- Domain
- api, developer-experience
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100