microsoft/language-server-protocol
在 GitHub 查看Pass the current selection for a Hover Request
Open
#377 创建于 2018年1月15日
feature-requesthelp wantedhover
仓库指标
- Star
- (12,810 star)
- PR 合并指标
- (平均合并 19小时 29分钟) (30 天内合并 12 个 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.