struct LSP::Hover

Overview

The result of a hover request.

Included Modules

Defined in:

requests/language_features/hover.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(**args) #

[View source]

Instance Method Detail

def contents : MarkedString | Array(MarkedString) | MarkupContent #

The hover's content


[View source]
def contents=(contents : MarkedString | Array(MarkedString) | MarkupContent) #

The hover's content


[View source]
def range : 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.


[View source]
def range=(range : 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.


[View source]