From 6c2cb6490a6b83e8e2f55571c7267f2ec334938d Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 3 Dec 2024 22:21:03 -0800 Subject: [PATCH] Don't show debug logs on window open --- extensions/vscode/src/ContinueGUIWebviewViewProvider.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/extensions/vscode/src/ContinueGUIWebviewViewProvider.ts b/extensions/vscode/src/ContinueGUIWebviewViewProvider.ts index 610d262fc..f98b09f93 100644 --- a/extensions/vscode/src/ContinueGUIWebviewViewProvider.ts +++ b/extensions/vscode/src/ContinueGUIWebviewViewProvider.ts @@ -22,9 +22,7 @@ export class ContinueGUIWebviewViewProvider private updateDebugLogsStatus() { const settings = vscode.workspace.getConfiguration(EXTENSION_NAME); this.enableDebugLogs = settings.get("enableDebugLogs", false); - if (this.enableDebugLogs) { - this.outputChannel.show(true); - } else { + if (!this.enableDebugLogs) { this.outputChannel.hide(); } } @@ -35,9 +33,7 @@ export class ContinueGUIWebviewViewProvider if (event.affectsConfiguration("continue.enableDebugLogs")) { const settings = vscode.workspace.getConfiguration(EXTENSION_NAME); const enableDebugLogs = settings.get("enableDebugLogs", false); - if (enableDebugLogs) { - this.outputChannel.show(true); - } else { + if (!enableDebugLogs) { this.outputChannel.hide(); } }