microsoft/language-server-protocol

Pass the current selection for a Hover Request

Open

#377 geöffnet am 15. Jan. 2018

Auf GitHub ansehen
 (18 Kommentare) (85 Reaktionen) (0 zugewiesene Personen)HTML (956 Forks)batch import
feature-requesthelp wantedhover

Repository-Metriken

Stars
 (12.810 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 19h 29m) (12 gemergte PRs in 30 T)

Beschreibung

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