class LSProtocol::RenameFile

Overview

Rename file operation

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(kind : String | Nil, new_uri : URI | Nil, old_uri : URI | Nil, annotation_id : ChangeAnnotationIdentifier | Nil = nil, options : RenameFileOptions | Nil = nil) #

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

[View source]

Instance Method Detail

def annotation_id : ChangeAnnotationIdentifier | Nil #

An optional annotation identifier describing the operation.

@since 3.16.0


[View source]
def kind : String #

A rename


[View source]
def new_uri : URI #

The new location.


[View source]
def old_uri : URI #

The old (existing) location.


[View source]
def options : RenameFileOptions | Nil #

Rename options.


[View source]