microsoft/language-server-protocol

Pass the current selection for a Hover Request

开放

#377 创建于 2018年1月15日

 (18 条评论) (85 个反应) (0 位负责人)HTML (956 个派生)batch import
feature-requesthelp wantedhover

仓库指标

星标
 (12,810 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南