Update src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Benjamin Christopher Simmonds
2025-11-26 00:24:56 +01:00
committed by GitHub
parent fbce09fe53
commit 65a9f0bedc

View File

@@ -313,7 +313,7 @@ export class InlineCompletionsSource extends Disposable {
await wait(remainingTimeToWait, source.token);
}
providerSuggestions.forEach(s => s.addPerformanceMarker('minShowDelayPassed'));
suggestions.forEach(s => s.addPerformanceMarker('minShowDelayPassed'));
if (source.token.isCancellationRequested || this._store.isDisposed || this._textModel.getVersionId() !== request.versionId
|| userJumpedToActiveCompletion.get() /* In the meantime the user showed interest for the active completion so dont hide it */) {