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

The parameters of a {@link CodeActionRequest}.

Link to this section Summary

Functions

Fields

  • text_document: The document in which the command was invoked.
  • range: The range for which the command was invoked.
  • context: Context carrying additional information.
  • work_done_token: An optional token that a server can use to report work done progress.
  • partial_result_token: An optional token that a server can use to report partial results (e.g. streaming) to the client.

Link to this section Types

@type t() :: %GenLSP.Structures.CodeActionParams{
  context: GenLSP.Structures.CodeActionContext.t(),
  partial_result_token: GenLSP.TypeAlias.ProgressToken.t() | nil,
  range: GenLSP.Structures.Range.t(),
  text_document: GenLSP.Structures.TextDocumentIdentifier.t(),
  work_done_token: GenLSP.TypeAlias.ProgressToken.t() | nil
}

Link to this section Functions

Link to this function

%GenLSP.Structures.CodeActionParams{}

View Source (struct)

fields

Fields

  • text_document: The document in which the command was invoked.
  • range: The range for which the command was invoked.
  • context: Context carrying additional information.
  • work_done_token: An optional token that a server can use to report work done progress.
  • partial_result_token: An optional token that a server can use to report partial results (e.g. streaming) to the client.