HoverSubservice

class HoverSubservice(hoverSuppliers: List<HoverSupplier>) : TextDocumentSubservice<HoverParams, Hover?>

Subservice for handling hover requests. It gathers hover information from multiple suppliers, and picks the first non-null result.

Parameters

hoverSuppliers

suppliers of hover information

Constructors

Link copied to clipboard
constructor(hoverSuppliers: List<HoverSupplier>)

Functions

Link copied to clipboard
open override fun process(params: HoverParams, document: TextDocument): Hover?

Processes the given parameters and text to produce an output.