提交 14075af6 编写于 作者: J Johannes Rieken

don't resolve code lens when typing, immediately resolve code lens after...

don't resolve code lens when typing, immediately resolve code lens after receiving them, fixes https://github.com/microsoft/vscode/issues/96783
上级 82c65e75
......@@ -185,7 +185,7 @@ export class CodeLensContribution implements IEditorContribution {
// render lenses
this._renderCodeLensSymbols(result);
this._resolveCodeLensesInViewportSoon();
this._resolveCodeLensesInViewport();
}, onUnexpectedError);
}, this._getCodeLensModelDelays.get(model));
......@@ -219,8 +219,6 @@ export class CodeLensContribution implements IEditorContribution {
});
});
// Compute new `visible` code lenses
this._resolveCodeLensesInViewportSoon();
// Ask for all references again
scheduler.schedule();
}));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册