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.