microsoft/language-server-protocol

Pass the current selection for a Hover Request

Aberta

#377 aberto em 15 de jan. de 2018

 (18 comentários) (85 reações) (0 responsável)HTML (956 forks)batch import
feature-requesthelp wantedhover

Métricas do repositório

Stars
 (12.810 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Guia do colaborador