mirror of
https://github.com/microsoft/vscode.git
synced 2026-10-05 15:36:22 +01:00
leave a todo, #7340
This commit is contained in:
1 parent
bea850c13c
commit
12378c8ce0
1 file changed
+3
@@ -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') {
|
||||
|
||||
Reference in new issue
Block a user