Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TreeSearch

Hierarchy

  • TreeSearch

Implements

Index

Properties

Protected _filterResult

_filterResult: Match<TreeNode>[] = []

Protected _filteredNodes

_filteredNodes: ReadonlyArray<Readonly<TreeNode>> = []

Protected _filteredNodesAndParents

_filteredNodesAndParents: Set<string> = new Set()

Protected Readonly disposables

disposables: DisposableCollection = new DisposableCollection()

Protected Readonly filteredNodesEmitter

filteredNodesEmitter: Emitter<ReadonlyArray<{}>> = new Emitter<ReadonlyArray<Readonly<TreeNode>>>()

Protected Readonly fuzzySearch

fuzzySearch: FuzzySearch

Protected Readonly labelProvider

labelProvider: LabelProvider

Protected Readonly tree

tree: Tree

Accessors

filteredNodes

onFilteredNodesChanged

Methods

Protected addAllParentsToFilteredSet

  • addAllParentsToFilteredSet(node: TreeNode): void

dispose

  • dispose(): void

filter

  • filter(pattern: string | undefined): Promise<ReadonlyArray<Readonly<TreeNode>>>

Protected fireFilteredNodesChanged

getHighlights

  • getHighlights(): Map<string, TreeDecoration.CaptionHighlight>

Protected init

  • init(): void

Protected mapRange

  • mapRange(range: Range): TreeDecoration.CaptionHighlight.Range

passesFilters

  • passesFilters(node: TreeNode): boolean

Protected toCaptionHighlight

  • toCaptionHighlight(match: Match<TreeNode>): TreeDecoration.CaptionHighlight