claude-code - 💡(How to fix) Fix [FEATURE] Rename projects in the sidebar [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#48039Fetched 2026-04-15 06:35:03
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×3closed ×1commented ×1
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)

Problem Statement

When working with multiple checkouts of the same repo (e.g., a Windows copy and a WSL copy of xpcrm), both appear in the Projects sidebar with the same name derived from the directory basename, making them indistinguishable at a glance. Please allow a user-defined display label per project (stored in settings, keyed by absolute path) so they can be told apart without renaming the underlying directories — which breaks scripts, IDE configs, and per-project memory.

Proposed Solution

a right click menu that allows you to rename the project. This could be stored in the global claude.md file for claude code.

Alternative Solutions

No response

Priority

Medium - Would be very helpful

Feature Category

Developer tools/SDK

Use Case Example

in the claude code navigation panel on the LHS, under projects. I have a windows version of the codebase and a wsl version of the codebase and they both have the same names. It just causes confusion.

Additional Context

<img width="389" height="519" alt="Image" src="https://github.com/user-attachments/assets/4f5571d4-086e-40b4-abe3-8042ce4a863a" />

extent analysis

TL;DR

Allowing user-defined display labels per project, stored in settings and keyed by absolute path, could resolve the issue of indistinguishable project names in the Projects sidebar.

Guidance

  • Consider implementing a right-click menu to enable users to rename projects, storing the custom names in a global configuration file, such as claude.md.
  • Store the custom project labels in a settings file, using the absolute path as a unique key to differentiate between projects with the same name.
  • When displaying project names in the sidebar, check the settings file for a custom label and use it if available, falling back to the default directory basename if not.
  • Ensure that the custom labeling feature does not interfere with existing scripts, IDE configurations, or per-project memory.

Example

No code example is provided due to the lack of specific technical details in the issue.

Notes

The proposed solution relies on the existence of a claude.md file and its ability to store custom project labels. The implementation details, such as the file format and the mechanism for storing and retrieving custom labels, are not specified.

Recommendation

Apply a workaround by implementing a custom labeling feature, as it directly addresses the user's need to distinguish between projects with the same name without renaming the underlying directories.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING