Skip to content

Allow hiding unmatching nodes when filtering #2868

@sevoku

Description

@sevoku

Right now our tree filter feature highlights the match in the item tile and sorts matches first in the list, leaving the (unmatching) rest visible:

Image

Even though VS Code also never hides tree items, I think it's something really useful still to show only filtered ones and hide everything else, especially for very long list i.e. if I want to focus only on a subset of items really.

It could be either a setting in extension settings (like "Cosmos DB: Filter behaviour" and then a bool "Only Highlight Matches", when false it should hide rather than highlight) or maybe we can add a checkbox right to the filter entry?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions