class LSProtocol::FileOperationOptions

Overview

Options for notifications/requests for user operations on files.

@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 : FileOperationRegistrationOptions | Nil = nil, did_delete : FileOperationRegistrationOptions | Nil = nil, did_rename : FileOperationRegistrationOptions | Nil = nil, will_create : FileOperationRegistrationOptions | Nil = nil, will_delete : FileOperationRegistrationOptions | Nil = nil, will_rename : FileOperationRegistrationOptions | Nil = nil) #

[View source]

Instance Method Detail

def did_create : FileOperationRegistrationOptions | Nil #

The server is interested in receiving didCreateFiles notifications.


[View source]
def did_delete : FileOperationRegistrationOptions | Nil #

The server is interested in receiving didDeleteFiles file notifications.


[View source]
def did_rename : FileOperationRegistrationOptions | Nil #

The server is interested in receiving didRenameFiles notifications.


[View source]
def will_create : FileOperationRegistrationOptions | Nil #

The server is interested in receiving willCreateFiles requests.


[View source]
def will_delete : FileOperationRegistrationOptions | Nil #

The server is interested in receiving willDeleteFiles file requests.


[View source]
def will_rename : FileOperationRegistrationOptions | Nil #

The server is interested in receiving willRenameFiles requests.


[View source]