class

LSProtocol::SnippetTextEdit

Inherits JSON::Serializable / Reference / Object

An interactive text edit.

@since 3.18.0 @proposed

Constructors

new(range : Range | Nil, snippet : StringValue | Nil, annotation_id : ChangeAnnotationIdentifier | Nil = nil)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

annotation_id

The actual identifier of the snippet edit.

Source
range

The range of the text document to be manipulated.

Source
snippet

The snippet to be inserted.

Source