Skip to content

LanguageServerHoverParticipantOptions

LanguageServerHoverParticipantOptions = object

readonly optional getDiagnosticActions?: LanguageServerDiagnosticActions


optional openLocation?: OpenLocation

Follows a diagnostic’s related-information link.


readonly router: LanguageServerFeatureRouter

getActiveDocument(): ActiveDocument | null

ActiveDocument | null


getDiagnostics(): readonly Diagnostic[]

readonly Diagnostic[]


onRequestError(error): void

unknown

void


optional onRequestSuccess(): void

void


requestHover(params, options, onUpdate): Promise<Hover | null>

TextDocumentPositionParams

RequestOptions

(update) => void

Promise<Hover | null>