Convert IRenameSupport to RenameProvider

This commit is contained in:
Alex Dima
2016-05-19 18:29:14 +02:00
parent 30169da4f8
commit 3ca51f6d23
7 changed files with 33 additions and 98 deletions

View File

@@ -285,7 +285,7 @@ class ExtHostApiCommands {
position: position && typeConverters.fromPosition(position),
newName
};
return this._commands.executeCommand<modes.IRenameResult>('_executeDocumentRenameProvider', args).then(value => {
return this._commands.executeCommand<modes.WorkspaceEdit>('_executeDocumentRenameProvider', args).then(value => {
if (!value) {
return;
}