leave a todo, #7340

This commit is contained in:
Johannes Rieken committed 2018-01-26 18:19:47 +01:00
1 parent bea850c13c
commit 12378c8ce0
1 file changed
+3
+3
View File
@@ -79,6 +79,9 @@ export function rename(model: ITextModel, position: Position, newName: string):
});
}
// TODO@joh
// merge this into above function to make we always
// use the same provider for resolving and renamin
function resolveInitialRenameValue(model: ITextModel, position: Position): TPromise<RenameInitialValue> {
const [first] = RenameProviderRegistry.ordered(model);
if (!first || typeof first.resolveInitialRenameValue !== 'function') {