class

LSProtocol::ChangeAnnotation

Inherits JSON::Serializable / Reference / Object

Additional information that describes document changes.

@since 3.16.0

Constructors

new(pull : JSON::PullParser)
Source
new(label : String | Nil, description : String | Nil = nil, needs_confirmation : Bool | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

description

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

Source
label

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

Source
needs_confirmation

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

Source