microsoft/language-server-protocol

Pass the current selection for a Hover Request

オープン

#377 opened on 2018/01/15

 (18 件のコメント) (85 件のリアクション) (0 人の担当者)HTML (956 件のフォーク)batch import
feature-requesthelp wantedhover

Repository metrics

Stars
 (12,810 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド