Skip to content

Timeline: support multi select commands #145202

Closed

Description

I would like to enable bulk-operations for the local history entries (e.g. "Delete") and was expecting a multi-select context menu invocation to receive all the selected items, but it seems only the focused one is passed on.

Related/Enabled: #117261

Activity

  1. added
    feature-request
    on Mar 16, 2022
  2. gjsjohnmurray commented on May 31, 2024

    @gjsjohnmurray
    Contributor

    This would also allow diffing two specific history versions.

  3. added 2 commits that reference this issue on Oct 14, 2026
    e3f62e9
    d2021c7
  4. added a commit that references this issue on Oct 15, 2026
    f5fbc32
  5. added
    unreleased
    on Oct 15, 2026
  6. added
    insiders-released
    verification-needed
    and removed
    unreleased
    on Oct 16, 2026
  7. federicobrancasi commented on Oct 18, 2026

    @federicobrancasi
    Member

    🤖 How to verify: the attached video walks through the steps in real VS Code Insiders, checking each result in the app.

    issue-145202-how-to-verify.mp4
  8. anthonykim1 commented on Oct 19, 2026

    @anthonykim1
    Contributor

    Verified on macOS 26.7.1 arm64 using VS Code Insiders 1.143.0-insider (a0c6520313624aceb3f3a80eff7932be6a00405a).

    In an isolated profile, I saved a file in a git repository three times to create three local history entries, then used multi-selection in the Timeline view. I ran the same scenario on VS Code 1.141.0 as a baseline.

    Verified:

    • Selecting two local history entries with click and Cmd+click
    • Delete from the context menu on that selection
    • Compare Selected on a git commit and a local history entry
    • Which local history entries remained on disk after the delete

    Results:

    • 1.141.0: Cmd+click on a second entry didn't extend the selection, so only one entry could be acted on
    • Current Insiders: the context menu for the two selected entries showed Compare Selected and Delete, and hid the single-item commands
    • Delete asked "Do you want to delete 2 local history entries?" and removed both selected entries; only the unselected newest entry remained, in the Timeline and on disk
    • Compare Selected opened notes.md (Describe timeline keybinding fix) ↔ notes.md (File Saved) with the older commit on the left

    Commands invoked on a Timeline multi-selection now receive every selected item in current Insiders.

    Timeline multi-select: single selection in 1.141.0; in current Insiders, Delete on two local history entries, the result, and Compare Selected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestinsiders-releasedtimelineverification-neededverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions