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

Link to this section Summary

Functions

Fields

  • document_changes: The client supports versioned document changes in WorkspaceEdits

Link to this section Types

@type t() :: %GenLSP.Structures.WorkspaceEditClientCapabilities{
  change_annotation_support: map() | nil,
  document_changes: boolean() | nil,
  failure_handling: GenLSP.Enumerations.FailureHandlingKind.t() | nil,
  normalizes_line_endings: boolean() | nil,
  resource_operations: [GenLSP.Enumerations.ResourceOperationKind.t()] | nil
}

Link to this section Functions

Link to this function

%GenLSP.Structures.WorkspaceEditClientCapabilities{}

View Source (struct)

fields

Fields

  • document_changes: The client supports versioned document changes in WorkspaceEdits

  • resource_operations: The resource operations the client supports. Clients should at least support 'create', 'rename' and 'delete' files and folders.

    @since 3.13.0

  • failure_handling: The failure handling strategy of a client if applying the workspace edit fails.

    @since 3.13.0

  • normalizes_line_endings: Whether the client normalizes line endings to the client specific setting. If set to true the client will normalize line ending characters in a workspace edit to the client-specified new line character.

    @since 3.16.0

  • change_annotation_support: Whether the client in general supports change annotations on text edits, create file, rename file and delete file changes.

    @since 3.16.0