Agent / chat history sidebar: show workspace display name (basename or .code-workspace name), not relative paths

Feature request for product/service

Cursor IDE

Describe the request

Hello Cursor team,
Problem In the left-hand Agent (or chat) history list, workspaces are labeled with relative path segments (e.g. parent folders plus the repo folder). Even when I open a repository with File → Open Folder at the repository root, the history still shows path-like labels. When I work on many projects, these labels look too similar and it is hard to tell at a glance which project each conversation belongs to.
Current behavior History entries appear to use multi-segment or relative paths as the primary label for distinguishing workspaces.
Requested behavior

  1. Use a short, human-readable workspace title as the primary label—for example the root folder basename (last segment of the workspace path), or the name field from a multi-root .code-workspace file when present.
  2. Show the full path (or a copyable path) in a tooltip on hover, or as secondary/subtitle text, so users can still disambiguate when two projects share the same folder name under different parents.
    Why this matters The history sidebar is the main way to resume past work across projects. Path-heavy labels increase cognitive load and make scanning the list slower; basename or user-defined names match how developers mentally identify projects.
    Optional If basename collisions are common, you could append a minimal disambiguator (e.g. parent folder) only when needed, or rely on the tooltip for the full path.
    Thank you for considering this for a future release.

Hey, thanks for the detailed request and the screenshot. The issue is clear in the image: four different workspaces show the same truncated label excellent_science_technolo..., and it’s impossible to tell which project is which without opening the chat. The actual names (H5 cash register, WeChat mini program, Flutter logging, etc.) are only visible in individual chat titles, not in the workspace label itself.

The proposal makes sense:

  1. The main label should be the basename of the last path segment, or the name from the .code-workspace file if it exists.
  2. Show the full path as a tooltip on hover or as a subtitle, so even if basenames collide, users can still tell projects apart.
  3. Optionally add a disambiguator (parent folder) only when basenames match.

I’ll pass this to the team as a UX improvement for the Agent history sidebar. I can’t share an ETA for feature requests, but if there’s an update on this, I’ll reply in the thread. If you have more ideas for related cases (like multi-root workspaces or Remote SSH behavior), add them here too.

Strong +1 on this. Ideally I’d add my workspace entries (or open the same .code-workspace / folder I always use) and be done. Then, it should show the name I chose, not owner/repo or a parent path prefix. Right now it’s inconsistent: some workspaces show with an org prefix, others without, even for similar repos.

Related pain: in the Agent view I sometimes see what looks like the same project twice in the workspace list. I’m not sure if that’s from something non-standard in my workspace files or from how Agent view dedupes identities, but clearer display names (and predictable deduping) would help a lot.

Hi I have two workspaces with the same folder name at different paths.

~/
├── my-project/
│   └── README.md
│ 
└── opensource/
    └── my-project/
        └── README.md

In this case they are both called “my-project”.
In the cursor Agent Window, they appear in the same name (“my-project”), which is kind of confusing for switching fast between conversations
Is there a way to rename / tell it to use the parent directory as well in the workspace name?

Thanks!