provideRenameEdits
abstract fun provideRenameEdits(document: TextDocument, position: Position, newName: String, token: CancellationToken): ProviderResult<WorkspaceEdit>(source)
Provide an edit that describes changes that have to be made to one or many resources to rename a symbol to a different name.
Parameters
document
The document in which the command was invoked.
position
The position at which the command was invoked.
newName
The new name of the symbol. If the given name is not valid, the provider must return a rejected promise.
token
A cancellation token.