mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
rename to OnTypeRenameRangeProvider. For #109923
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user