提交 12378c8c 编写于 作者: J Johannes Rieken

leave a todo, #7340

上级 bea850c1
......@@ -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') {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册