Method

LspEditorrename_async

Declaration

void
lsp_editor_rename_async (
  LspEditor* self,
  GUri* uri,
  LspPosition* position,
  const gchar* new_name,
  GAsyncReadyCallback _callback_,
  void* _callback__target
)

Description

The rename request is sent from the client to the server to rename a symbol.

Parameters

uri

Type: GUri

The URI of the document containing the symbol.

The data is owned by the caller of the method.
position

Type: LspPosition

The position of the symbol.

The data is owned by the caller of the method.
new_name

Type: const gchar*

The new name for the symbol.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
_callback_

Type: GAsyncReadyCallback

No description available.

The argument can be NULL.
_callback__target

Type: void*

No description available.

The argument can be NULL.
The data is owned by the caller of the method.