prepare_rename_async


Description:

protected virtual async PrepareRenameResult? prepare_rename_async (Client client, TextDocumentIdentifier text_document, Position position) throws Error

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

Parameters:

text_document

the document containing the symbol

position

the position of the symbol

Returns:

the prepared rename range or default behavior, or null