provideHover
abstract fun provideHover(document: TextDocument, position: Position, token: CancellationToken): ProviderResult<Hover>(source)
Provide a hover for the given position and document. Multiple hovers at the same position will be merged by the editor. A hover can have a range which defaults to the word range at the position when omitted.
Parameters
document
The document in which the command was invoked.
position
The position at which the command was invoked.
token
A cancellation token.