class LSProtocol::FileOperationClientCapabilities

Overview

Capabilities relating to events from file operations by the user in the client.

These events do not come from the file system, they come from user operations like renaming a file in the UI.

@since 3.16.0

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(did_create : Bool | Nil = nil, did_delete : Bool | Nil = nil, did_rename : Bool | Nil = nil, dynamic_registration : Bool | Nil = nil, will_create : Bool | Nil = nil, will_delete : Bool | Nil = nil, will_rename : Bool | Nil = nil) #

[View source]

Instance Method Detail

def did_create : Bool | Nil #

The client has support for sending didCreateFiles notifications.


[View source]
def did_delete : Bool | Nil #

The client has support for sending didDeleteFiles notifications.


[View source]
def did_rename : Bool | Nil #

The client has support for sending didRenameFiles notifications.


[View source]
def dynamic_registration : Bool | Nil #

Whether the client supports dynamic registration for file requests/notifications.


[View source]
def will_create : Bool | Nil #

The client has support for sending willCreateFiles requests.


[View source]
def will_delete : Bool | Nil #

The client has support for sending willDeleteFiles requests.


[View source]
def will_rename : Bool | Nil #

The client has support for sending willRenameFiles requests.


[View source]