View Source GenLSP.Structures.FileOperationClientCapabilities (gen_lsp v0.8.1)

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

Link to this section Summary

Functions

Fields

  • dynamic_registration: Whether the client supports dynamic registration for file requests/notifications.
  • did_create: The client has support for sending didCreateFiles notifications.
  • will_create: The client has support for sending willCreateFiles requests.
  • did_rename: The client has support for sending didRenameFiles notifications.
  • will_rename: The client has support for sending willRenameFiles requests.
  • did_delete: The client has support for sending didDeleteFiles notifications.
  • will_delete: The client has support for sending willDeleteFiles requests.

Link to this section Types

@type t() :: %GenLSP.Structures.FileOperationClientCapabilities{
  did_create: boolean() | nil,
  did_delete: boolean() | nil,
  did_rename: boolean() | nil,
  dynamic_registration: boolean() | nil,
  will_create: boolean() | nil,
  will_delete: boolean() | nil,
  will_rename: boolean() | nil
}

Link to this section Functions

Link to this function

%GenLSP.Structures.FileOperationClientCapabilities{}

View Source (struct)

fields

Fields

  • dynamic_registration: Whether the client supports dynamic registration for file requests/notifications.
  • did_create: The client has support for sending didCreateFiles notifications.
  • will_create: The client has support for sending willCreateFiles requests.
  • did_rename: The client has support for sending didRenameFiles notifications.
  • will_rename: The client has support for sending willRenameFiles requests.
  • did_delete: The client has support for sending didDeleteFiles notifications.
  • will_delete: The client has support for sending willDeleteFiles requests.