class LSProtocol::FileOperationOptions
- LSProtocol::FileOperationOptions
- Reference
- Object
Overview
Options for notifications/requests for user operations on files.
@since 3.16.0
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(pull : JSON::PullParser)
- .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)
Instance Method Summary
-
#did_create : FileOperationRegistrationOptions | Nil
The server is interested in receiving didCreateFiles notifications.
-
#did_delete : FileOperationRegistrationOptions | Nil
The server is interested in receiving didDeleteFiles file notifications.
-
#did_rename : FileOperationRegistrationOptions | Nil
The server is interested in receiving didRenameFiles notifications.
-
#will_create : FileOperationRegistrationOptions | Nil
The server is interested in receiving willCreateFiles requests.
-
#will_delete : FileOperationRegistrationOptions | Nil
The server is interested in receiving willDeleteFiles file requests.
-
#will_rename : FileOperationRegistrationOptions | Nil
The server is interested in receiving willRenameFiles requests.
Constructor Detail
Instance Method Detail
The server is interested in receiving didCreateFiles notifications.
The server is interested in receiving didDeleteFiles file notifications.
The server is interested in receiving didRenameFiles notifications.
The server is interested in receiving willCreateFiles requests.
The server is interested in receiving willDeleteFiles file requests.
The server is interested in receiving willRenameFiles requests.