class LSProtocol::RenameFile
- LSProtocol::RenameFile
- Reference
- Object
Overview
Rename file operation
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(kind : String | Nil, new_uri : URI | Nil, old_uri : URI | Nil, annotation_id : ChangeAnnotationIdentifier | Nil = nil, options : RenameFileOptions | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#annotation_id : ChangeAnnotationIdentifier | Nil
An optional annotation identifier describing the operation.
-
#kind : String
A rename
-
#new_uri : URI
The new location.
-
#old_uri : URI
The old (existing) location.
-
#options : RenameFileOptions | Nil
Rename options.
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)
#
Instance Method Detail
def annotation_id : ChangeAnnotationIdentifier | Nil
#
An optional annotation identifier describing the operation.
@since 3.16.0