File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
src/lsp_client/capability/request Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,21 @@ async def request_inlay_hint_resolve(
106106 self ,
107107 hint : lsp_type .InlayHint ,
108108 ) -> lsp_type .InlayHint :
109+ """
110+ Resolve additional details for a previously returned inlay hint.
111+
112+ This sends an LSP ``inlayHint/resolve`` request to the server for the
113+ given ``hint``. Servers may initially return inlay hints with only a
114+ subset of properties populated and require a subsequent resolve
115+ request to fill in optional fields such as tooltips, locations, or
116+ text edits.
117+
118+ :param hint: An :class:`lsp_type.InlayHint` instance obtained from a
119+ prior ``textDocument/inlayHint`` request that should be fully
120+ resolved by the server.
121+ :return: A new :class:`lsp_type.InlayHint` containing any additional
122+ data supplied by the server.
123+ """
109124 return await self .request (
110125 lsp_type .InlayHintResolveRequest (
111126 id = jsonrpc_uuid (),
You can’t perform that action at this time.
0 commit comments