From 8d4e92f8ab50e10f0cf4e2f6e7a520e1f25f90b9 Mon Sep 17 00:00:00 2001 From: Henning Dieterichs Date: Mon, 7 Jun 2021 10:02:45 +0200 Subject: [PATCH] Reverts debounce timeout to 50ms. --- .../editor/contrib/inlineCompletions/inlineCompletionsModel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/editor/contrib/inlineCompletions/inlineCompletionsModel.ts b/src/vs/editor/contrib/inlineCompletions/inlineCompletionsModel.ts index 63d16412ca9c..6f73b7b64f4d 100644 --- a/src/vs/editor/contrib/inlineCompletions/inlineCompletionsModel.ts +++ b/src/vs/editor/contrib/inlineCompletions/inlineCompletionsModel.ts @@ -148,7 +148,7 @@ class InlineCompletionsSession extends BaseGhostTextWidgetModel { private readonly updateOperation = this._register(new MutableDisposable()); private readonly cache = this._register(new MutableDisposable()); - private updateSoon = this._register(new RunOnceScheduler(() => this.update(InlineCompletionTriggerKind.Automatic), 200)); + private updateSoon = this._register(new RunOnceScheduler(() => this.update(InlineCompletionTriggerKind.Automatic), 50)); private readonly textModel = this.editor.getModel(); constructor(