class LSProtocol::SnippetTextEdit

Overview

An interactive text edit.

@since 3.18.0 @proposed

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(range : Range | Nil, snippet : StringValue | Nil, annotation_id : ChangeAnnotationIdentifier | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def annotation_id : ChangeAnnotationIdentifier | Nil #

[View source]
def range : Range #

The range of the text document to be manipulated.


[View source]
def snippet : StringValue #

The snippet to be inserted.


[View source]