class LSProtocol::SnippetTextEdit
- LSProtocol::SnippetTextEdit
- Reference
- Object
Overview
An interactive text edit.
@since 3.18.0 @proposed
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(range : Range | Nil, snippet : StringValue | Nil, annotation_id : ChangeAnnotationIdentifier | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#annotation_id : ChangeAnnotationIdentifier | Nil
The actual identifier of the snippet edit.
-
#range : Range
The range of the text document to be manipulated.
-
#snippet : StringValue
The snippet to be inserted.
Constructor Detail
def self.new(range : Range | Nil, snippet : StringValue | Nil, annotation_id : ChangeAnnotationIdentifier | Nil = nil)
#