Skip to content

Reopen Closed Editor should be per folder location #350325

Description

When a single-folder window switches Folder Location (for example from a worktree back to the folder), each location now keeps its own open editors and its own recently opened list (#349761). Reopen Closed Editor (Cmd/Ctrl+Shift+T) still uses one shared list of recently closed editors. After switching locations, it can reopen an editor that was closed at the other location, for example the worktree's copy of a file while you're at the folder.

Expected: Reopen Closed Editor only reopens editors closed at the current folder location. Each location's list is saved and restored with its editors, like the recently opened list.

Written by GitHub Copilot on behalf of Sandeep Somavarapu (@sandy081)

Metadata

Metadata

Labels

polish

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions