Method

LspServerprepare_rename_async

Declaration

void
lsp_server_prepare_rename_async (
  LspServer* self,
  LspClient* client,
  LspTextDocumentIdentifier* text_document,
  LspPosition* position,
  GAsyncReadyCallback _callback_,
  void* _callback__target
)

Description

The prepare rename request is sent from the client to the server to check whether a rename is valid at the given position.

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.
_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.