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

Rename file operation

Link to this section Summary

Link to this section Types

@type t() :: %GenLSP.Structures.RenameFile{
  annotation_id: GenLSP.TypeAlias.ChangeAnnotationIdentifier.t() | nil,
  kind: String.t(),
  new_uri: GenLSP.BaseTypes.document_uri(),
  old_uri: GenLSP.BaseTypes.document_uri(),
  options: GenLSP.Structures.RenameFileOptions.t() | nil
}

Link to this section Functions

Link to this function

%GenLSP.Structures.RenameFile{}

View Source (struct)

fields

Fields

  • kind: A rename

  • old_uri: The old (existing) location.

  • new_uri: The new location.

  • options: Rename options.

  • annotation_id: An optional annotation identifier describing the operation.

    @since 3.16.0