View Source GenLSP.Structures.RenameClientCapabilities (gen_lsp v0.10.0)

Link to this section Summary

Functions

Fields

  • dynamic_registration: Whether rename supports dynamic registration.

Link to this section Types

@type t() :: %GenLSP.Structures.RenameClientCapabilities{
  dynamic_registration: boolean() | nil,
  honors_change_annotations: boolean() | nil,
  prepare_support: boolean() | nil,
  prepare_support_default_behavior:
    GenLSP.Enumerations.PrepareSupportDefaultBehavior.t() | nil
}

Link to this section Functions

Link to this function

%GenLSP.Structures.RenameClientCapabilities{}

View Source (struct)

fields

Fields

  • dynamic_registration: Whether rename supports dynamic registration.

  • prepare_support: Client supports testing for validity of rename operations before execution.

    @since 3.12.0

  • prepare_support_default_behavior: Client supports the default behavior result.

    The value indicates the default behavior used by the client.

    @since 3.16.0

  • honors_change_annotations: Whether the client honors the change annotations in text edits and resource operations returned via the rename request's workspace edit by for example presenting the workspace edit in the user interface and asking for confirmation.

    @since 3.16.0