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

The parameters of a {@link RenameRequest}.

Link to this section Summary

Functions

Fields

  • text_document: The document to rename.
  • position: The position at which this request was sent.
  • new_name: The new name of the symbol. If the given name is not valid the request must return a {@link ResponseError} with an appropriate message set.
  • work_done_token: An optional token that a server can use to report work done progress.

Link to this section Types

@type t() :: %GenLSP.Structures.RenameParams{
  new_name: String.t(),
  position: GenLSP.Structures.Position.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.RenameParams{}

View Source (struct)

fields

Fields

  • text_document: The document to rename.
  • position: The position at which this request was sent.
  • new_name: The new name of the symbol. If the given name is not valid the request must return a {@link ResponseError} with an appropriate message set.
  • work_done_token: An optional token that a server can use to report work done progress.