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

Registration options for a {@link CodeActionRequest}.

Link to this section Summary

Functions

Fields

  • document_selector: A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

Link to this section Types

@type t() :: %GenLSP.Structures.CodeActionRegistrationOptions{
  code_action_kinds: [GenLSP.Enumerations.CodeActionKind.t()] | nil,
  document_selector: GenLSP.TypeAlias.DocumentSelector.t() | nil,
  resolve_provider: boolean() | nil
}

Link to this section Functions

Link to this function

%GenLSP.Structures.CodeActionRegistrationOptions{}

View Source (struct)

fields

Fields

  • document_selector: A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

  • code_action_kinds: CodeActionKinds that this server may return.

    The list of kinds may be generic, such as CodeActionKind.Refactor, or the server may list out every specific kind they provide.

  • resolve_provider: The server provides support to resolve additional information for a code action.

    @since 3.16.0