Don't show debug logs on window open
This commit is contained in:
parent
d1ceea73a3
commit
6c2cb6490a
1 changed files with 2 additions and 6 deletions
|
|
@ -22,9 +22,7 @@ export class ContinueGUIWebviewViewProvider
|
|||
private updateDebugLogsStatus() {
|
||||
const settings = vscode.workspace.getConfiguration(EXTENSION_NAME);
|
||||
this.enableDebugLogs = settings.get<boolean>("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<boolean>("enableDebugLogs", false);
|
||||
if (enableDebugLogs) {
|
||||
this.outputChannel.show(true);
|
||||
} else {
|
||||
if (!enableDebugLogs) {
|
||||
this.outputChannel.hide();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue