Skip to content

Claude sessions: filter by workspace #290242

Closed
microsoft/vscode-copilot-chat
#3139

Description

https://github.com/microsoft/vscode-copilot-chat/blob/beb172e73ae347bf9a290396711fa3a85dda6064/src/extension/chatSessions/vscode-node/claudeChatSessionItemProvider.ts#L39-L53

Rather than just returning all sessions, scope it by workspace:

  • single folder: match that folder
  • multi-root workspace: match any of the folders
  • empty window: show all

Activity

  1. added
    bug
    on Jan 25, 2026
  2. added this to the January 2026 milestone on Jan 25, 2026
  3. bpasero commented on Jan 27, 2026

    @bpasero
    ContributorAuthor

    It seems to work fine for single-folder case, but:

    • in empty windows, I see no claude sessions
    • in multi-root windows, I see no claude sessions
  4. TylerLeonhardt commented on Jan 28, 2026

    @TylerLeonhardt
    Member
    Image

    I see them.

    You get sessions specific to cwd. For Empty & multi-root workspaces that is set to process.cwd which will be ~. You don't get all sessions that you've ever had, you get only those scoped there.

  5. added
    under-discussion
    and removed
    bug
    verification-found
    on Jan 28, 2026
  6. bpasero commented on Jan 29, 2026

    @bpasero
    ContributorAuthor

    How can we make it possible in the agent sessions window to show all Claude sessions?

  7. TylerLeonhardt commented on Jan 29, 2026

    @TylerLeonhardt
    Member

    Lots of FS operations...

    ~/.claude/projects/<folder-name-based-on-cwd>
    

    and having on the fly loading of Claude Sessions based on the cwd

    it's not easy...But we can do it.

  8. added
    feature-request
    and removed
    under-discussion
    on Jan 29, 2026
  9. added this to the February 2026 milestone on Jan 29, 2026
  10. bpasero commented on Jan 29, 2026

    @bpasero
    ContributorAuthor

    A pragmatic approach is maybe to allow a user to explicitly state which folders to use in a window (by adding them into the window) and then limiting the operations to these folders only, needs some discussion.

  11. added
    claude-agent
    and removed on Feb 7, 2026
  12. TylerLeonhardt commented on Feb 7, 2026

    @TylerLeonhardt
    Member
  13. locked and limited conversation to collaborators on Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

claude-agentfeature-requeston-testplan

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions