class LSProtocol::ChangeAnnotation

Overview

Additional information that describes document changes.

@since 3.16.0

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(label : String | Nil, description : String | Nil = nil, needs_confirmation : Bool | Nil = nil) #

[View source]

Instance Method Detail

def description : String | Nil #

A human-readable string which is rendered less prominent in the user interface.


[View source]
def label : String #

A human-readable string describing the actual change. The string is rendered prominent in the user interface.


[View source]
def needs_confirmation : Bool | Nil #

A flag which indicates that user confirmation is needed before applying the change.


[View source]