From 52d857d1ff31089e8c63f299a70ec471abc17c8a Mon Sep 17 00:00:00 2001 From: Jacob Kim Date: Tue, 24 Jun 2025 13:16:04 -0700 Subject: [PATCH] stop rendering empty artifacts --- extensions/vscode/src/activation/NextEditWindowManager.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/extensions/vscode/src/activation/NextEditWindowManager.ts b/extensions/vscode/src/activation/NextEditWindowManager.ts index e924d59ba..7e6dc2b7a 100644 --- a/extensions/vscode/src/activation/NextEditWindowManager.ts +++ b/extensions/vscode/src/activation/NextEditWindowManager.ts @@ -190,6 +190,11 @@ export class NextEditWindowManager { diff.offset.character, ); + // Stops the manager from rendering blank windows when there is nothing to render. + if (diff.renderableDiff === "") { + return; + } + // Create and apply decoration with the text await this.renderTooltip(editor, position, diff.renderableDiff); }