microsoft/language-server-protocol

Pass the current selection for a Hover Request

Open

#377 opened on 2018年1月15日

GitHub で見る
 (18 comments) (85 reactions) (0 assignees)HTML (956 forks)batch import
feature-requesthelp wantedhover

Repository metrics

Stars
 (12,810 stars)
PR merge metrics
 (平均マージ 19h 29m) (30d で 12 merged PRs)

説明

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.

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