microsoft/language-server-protocol

Pass the current selection for a Hover Request

Offen

#377 geöffnet am 15.01.2018

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

Repository-Metriken

Stars
 (12.810 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

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