class

LSProtocol::Hover

Inherits JSON::Serializable / Reference / Object

The result of a hover request.

Constructors

new(pull : JSON::PullParser)
Source
new(contents : Array(MarkedString) | MarkedString | MarkupContent | Nil, range : Range | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

contents

The hover's content

Source
range

An optional range inside the text document that is used to visualize the hover, e.g. by changing the background color.

Source