Skip to content

"Open View" quick access: filtering by container name is case-sensitive #325664

Closed

Description

@spokodev

In the "Open View" quick access (run View: Open View, or the view prefix in Quick Open), an entry matches the filter if either its view label fuzzy-matches (case-insensitive) or its container label matches via fuzzyContains(entry.containerLabel, filter). The container-label path is case-sensitive, so filtering by a container name only works in lowercase.

Steps to reproduce:

  1. Run "View: Open View".
  2. Type explorer. Views grouped under the Explorer container (e.g. Outline, Timeline) appear, matched by their container label.
  3. Type Explorer (capital E, as the UI displays the container). Those entries drop out.

Expected: matching by container name is case-insensitive, so Explorer and explorer return the same views.

Actual: any uppercase character in the query fails to match the container label, so typing the container name as displayed returns fewer results than the lowercase form.

Root cause: fuzzyContains in src/vs/base/common/strings.ts lowercases the target but compares it against the original-case query characters. The other two callers (Test Explorer filter, file search) pre-lowercase the query before calling, which is why the defect only surfaces in Open View.

A fix is up at #324047.

Activity

  1. added
    bug
    on Jul 14, 2026
  2. spokodev commented on Jul 15, 2026

    @spokodev
    ContributorAuthor

    The fix merged in #324047, so this can be closed.

  3. dmitrivMS commented on Sep 25, 2026

    @dmitrivMS
    Collaborator

    Fixed by #324047

  4. added this to the 1.140.0 milestone on Sep 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions