Method
IdeRenameProviderrename_async
Declaration
void
ide_rename_provider_rename_async (
IdeRenameProvider* self,
IdeLocation* location,
const gchar* new_name,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description
This requests the provider to determine the edits that must be made to the
project to perform the renaming of a symbol found at location
.
Use ide_rename_provider_rename_finish()
to get the results.
Parameters
location
-
Type:
IdeLocation
An
IdeLocation
.The data is owned by the caller of the method. new_name
-
Type:
const gchar*
The replacement name for the symbol.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. cancellable
-
Type:
GCancellable
A
GCancellable
orNULL
.The argument can be NULL
.The data is owned by the caller of the method. callback
-
Type:
GAsyncReadyCallback
A callback to complete the request.
The argument can be NULL
. user_data
-
Type:
gpointer
User data for
callback
.The argument can be NULL
.The data is owned by the caller of the method.