document_highlight_async


Description:

protected virtual async DocumentHighlight[]? document_highlight_async (Client client, TextDocumentIdentifier text_document, Position position) throws Error

The document highlight request is sent from the client to the server to resolve document highlights for a given text document position.

For programming languages, this usually highlights all references to the symbol scoped to this file.

Parameters:

text_document

the document to find highlights in

position

the position inside the document

Returns:

a list of document highlights, or null if there are none