A hover represents additional information for a symbol or word. Hovers are rendered in a tooltip-like widget.
Constructor
new(contents:EitherType<MarkdownString, EitherType<MarkedString, Array<EitherType<MarkdownString, MarkedString>>>>, ?range:Range)
Creates a new hover object.
Parameters:
contents | The contents of the hover. |
---|---|
range | The range to which the hover applies. |