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) #

def self.new(**args) #

Instance Method Detail

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

The hover's content


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

The hover's content


def range : 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.


def range=(range : 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.