class LSProtocol::FileOperationClientCapabilities
- LSProtocol::FileOperationClientCapabilities
- Reference
- Object
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
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(pull : JSON::PullParser)
- .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)
Instance Method Summary
-
#did_create : Bool | Nil
The client has support for sending didCreateFiles notifications.
-
#did_delete : Bool | Nil
The client has support for sending didDeleteFiles notifications.
-
#did_rename : Bool | Nil
The client has support for sending didRenameFiles notifications.
-
#dynamic_registration : Bool | Nil
Whether the client supports dynamic registration for file requests/notifications.
-
#will_create : Bool | Nil
The client has support for sending willCreateFiles requests.
-
#will_delete : Bool | Nil
The client has support for sending willDeleteFiles requests.
-
#will_rename : Bool | Nil
The client has support for sending willRenameFiles requests.
Constructor Detail
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)
#
Instance Method Detail
def dynamic_registration : Bool | Nil
#
Whether the client supports dynamic registration for file requests/notifications.