rename to OnTypeRenameRangeProvider. For #109923

This commit is contained in:
Martin Aeschlimann
2020-11-16 18:07:15 +01:00
parent 0b8a242be0
commit 8134d8c9e7
11 changed files with 34 additions and 34 deletions

View File

@@ -169,7 +169,7 @@ export function startClient(context: ExtensionContext, newLanguageClient: Langua
}
});
disposable = languages.registerOnTypeRenameProvider(documentSelector, {
disposable = languages.registerOnTypeRenameRangeProvider(documentSelector, {
async provideOnTypeRenameRanges(document, position) {
const param = client.code2ProtocolConverter.asTextDocumentPositionParams(document, position);
return client.sendRequest(OnTypeRenameRequest.type, param).then(response => {