class

LSProtocol::FileOperationClientCapabilities

Inherits JSON::Serializable / Reference / Object

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

Constructors

new(pull : JSON::PullParser)
Source
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)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

did_create

The client has support for sending didCreateFiles notifications.

Source
did_delete

The client has support for sending didDeleteFiles notifications.

Source
did_rename

The client has support for sending didRenameFiles notifications.

Source
dynamic_registration

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

Source
will_create

The client has support for sending willCreateFiles requests.

Source
will_delete

The client has support for sending willDeleteFiles requests.

Source
will_rename

The client has support for sending willRenameFiles requests.

Source