Virtual Method

LspServerrename_async

Declaration

void
rename_async (
  LspServer* self,
  LspClient* client,
  LspTextDocumentIdentifier* text_document,
  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

client

Type: LspClient

No description available.

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

Type: LspTextDocumentIdentifier

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.

_callback__target

Type: void*

No description available.

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