From 824b0beffba68bfceb062d1e07d795fb5aa2ea1e Mon Sep 17 00:00:00 2001 From: Sandeep Somavarapu Date: Thu, 9 Jan 2025 16:09:15 +0100 Subject: [PATCH] show all log levels by default --- src/vs/workbench/browser/parts/views/viewFilter.ts | 2 +- src/vs/workbench/contrib/output/browser/outputServices.ts | 4 ++-- src/vs/workbench/contrib/output/browser/outputView.ts | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/vs/workbench/browser/parts/views/viewFilter.ts b/src/vs/workbench/browser/parts/views/viewFilter.ts index 9eae6e9bc5f8d..ee6f952a249e5 100644 --- a/src/vs/workbench/browser/parts/views/viewFilter.ts +++ b/src/vs/workbench/browser/parts/views/viewFilter.ts @@ -95,7 +95,7 @@ export class FilterWidget extends Widget { @IKeybindingService private readonly keybindingService: IKeybindingService ) { super(); - this.delayedFilterUpdate = new Delayer(400); + this.delayedFilterUpdate = new Delayer(300); this._register(toDisposable(() => this.delayedFilterUpdate.cancel())); if (options.focusContextKey) { diff --git a/src/vs/workbench/contrib/output/browser/outputServices.ts b/src/vs/workbench/contrib/output/browser/outputServices.ts index d097a02c26a61..299491940ce0b 100644 --- a/src/vs/workbench/contrib/output/browser/outputServices.ts +++ b/src/vs/workbench/contrib/output/browser/outputServices.ts @@ -238,8 +238,8 @@ export class OutputService extends Disposable implements IOutputService, ITextMo this.filters = this._register(new OutputViewFilters({ filterHistory: [], - trace: false, - debug: false, + trace: true, + debug: true, info: true, warning: true, error: true diff --git a/src/vs/workbench/contrib/output/browser/outputView.ts b/src/vs/workbench/contrib/output/browser/outputView.ts index 3163b81b4cc87..c32d92d14b6d0 100644 --- a/src/vs/workbench/contrib/output/browser/outputView.ts +++ b/src/vs/workbench/contrib/output/browser/outputView.ts @@ -91,8 +91,8 @@ export class OutputViewPane extends FilterViewPane { const filters = outputService.filters; filters.text = this.panelState['filter'] || ''; - filters.trace = this.panelState['showTrace'] ?? false; - filters.debug = this.panelState['showDebug'] ?? false; + filters.trace = this.panelState['showTrace'] ?? true; + filters.debug = this.panelState['showDebug'] ?? true; filters.info = this.panelState['showInfo'] ?? true; filters.warning = this.panelState['showWarning'] ?? true; filters.error = this.panelState['showError'] ?? true; @@ -184,7 +184,7 @@ export class OutputViewPane extends FilterViewPane { public checkMoreFilters(): void { const filters = this.outputService.filters; - this.filterWidget.checkMoreFilters(filters.trace || filters.debug || !filters.info || !filters.warning || !filters.error); + this.filterWidget.checkMoreFilters(!filters.trace || !filters.debug || !filters.info || !filters.warning || !filters.error); } private clearInput(): void {