LSP::Message::Hover::Result
Inherits JSON::Serializable < Struct < Value < Object
TODO: allow null result when nothing to show
Constructors
new(pull : JSON::PullParser)
Sourcenew(contents : LSP::Data::MarkupContent = Data::MarkupContent.new, range : LSP::Data::Range | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
range
An optional range is a range inside a text document that is used to visualize a hover, e.g. by changing the background color.
range=(range : Data::Range | Nil)
An optional range is a range inside a text document that is used to visualize a hover, e.g. by changing the background color.