microsoft/language-server-protocol

Pass the current selection for a Hover Request

Aperta

#377 aperta il 15 gen 2018

 (18 commenti) (85 reazioni) (0 assegnatari)HTML (956 fork)batch import
feature-requesthelp wantedhover

Metriche repository

Star
 (12.810 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor