microsoft/language-server-protocol

Pass the current selection for a Hover Request

Open

#377 ouverte le 15 janv. 2018

Voir sur GitHub
 (18 commentaires) (85 réactions) (0 assignés)HTML (956 forks)batch import
feature-requesthelp wantedhover

Métriques du dépôt

Stars
 (12 810 stars)
Métriques de merge PR
 (Merge moyen 19h 29m) (12 PRs mergées en 30 j)

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.

Guide contributeur