Skip to content

TreeItem should support highlights #61313

Closed
@jrieken

Description

@jrieken

It would be nice if the tree view supports some kind of highlights in its label. This would be helpful when showing search-result-like things. Maybe something like this

export class TreeItem {

  label?: string;

  // start, end tuples
  labelHighlights?:[number,number][]
}

or something more elaborated that allows to reference a theme color or allows to express the highlighting style (background color or bold text etc)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions