Change:
Type: <bBug</bFilter tests for the current doc is no longer working. is doing nothing in the test explorer. It seems that all filter are broken. For example is also not possible. <img width="344" alt="CleanShot 2022-07-25 at 11 14 38 src="https://user-"VS Code version: Code - Insiders 1.70.0-insider (Universal) (, 2022-07-25T05:27:27.755Z) OS version: Darwin x64 21.5.0 Modes: <details<summarySystem Info</summary </detailsExtensions disabled<details<summaryA/B Experiments</summary</details<!-- generated by issue reporter --
/assign

Discussion:
} filter(element: T, parentVisibility: TreeVisibility): TreeFilterResult<FuzzyScore | LabelFuzzyScore> { <ins> let visibility = TreeVisibility.Visible; </ins> if (this._filter) { const result = this._filter.filter(element, parentVisibility); <del> let visibility: TreeVisibility; </del> if (typeof result === 'boolean') { visibility = result ? TreeVisibility.Visible : TreeVisibility.Hidden; } else if (isFilterResult(result)) {

if (!this._pattern) { this._matchCount++; <del> return { data: FuzzyScore.Default, visibility: true }; </del> <ins> return { data: FuzzyScore.Default, visibility }; </ins> } const label = this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(element);

for (const l of labels) { const labelStr = l && l.toString(); if (typeof labelStr === 'undefined') { <del> return { data: FuzzyScore.Default, visibility: true }; </del> <ins> return { data: FuzzyScore.Default, visibility }; </ins> } const score = fuzzyScore(this._pattern, this._lowercasePattern, 0, labelStr, labelStr.toLowerCase(), 0, { firstMatchCanBeWeak: true, boostFullMatch: true }); if (score) { this._matchCount++; return labels.length === 1 ? <del> { data: score, visibility: true } : { data: { label: labelStr, score: score }, visibility: true }; </del> <ins> { data: score, visibility } : { data: { label: labelStr, score: score }, visibility }; </ins> } } if (this.tree.findMode === TreeFindMode.Filter) { return TreeVisibility.Recurse; } else { <del> return { data: FuzzyScore.Default, visibility: true }; </del> <ins> return { data: FuzzyScore.Default, visibility }; </ins> } }

readonly filter?: ITreeFilter<T, TFilterData>; readonly dnd?: ITreeDragAndDrop<T>; readonly additionalScrollHeight?: number; <ins> readonly findWidgetEnabled?: boolean; </ins> } function dfs<T, TFilterData>(node: ITreeNode<T, TFilterData>, fn: (node: ITreeNode<T, TFilterData>) => void): void {

onKeyDown.filter(e => e.keyCode === KeyCode.Space).on(this.onSpace, this, this.disposables); } <del> if (_options.keyboardNavigationLabelProvider && _options.contextViewProvider) { </del> <ins> if ((_options.findWidgetEnabled ?? true) && _options.keyboardNavigationLabelProvider && _options.contextViewProvider) { </ins> this.findController = new FindController(this, this.model, this.view, filter!, _options.contextViewProvider); this.focusNavigationFilter = node => this.findController!.shouldAllowFocus(node); this.onDidChangeFindOpenState = this.findController.onDidChangeOpenState;

keyboardNavigationLabelProvider: instantiationService.createInstance(TreeKeyboardNavigationLabelProvider), accessibilityProvider: instantiationService.createInstance(ListAccessibilityProvider), filter: this.filter, <ins> findWidgetEnabled: false </ins> }) as WorkbenchObjectTree<TestExplorerTreeElement, FuzzyScore>; this._register(this.tree.onDidChangeCollapseState(evt => {