Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request - Custom Display Name for Workspace Root Folders #234489

Open
thojnaem opened this issue Nov 23, 2024 · 3 comments
Open

Feature Request - Custom Display Name for Workspace Root Folders #234489

thojnaem opened this issue Nov 23, 2024 · 3 comments
Assignees

Comments

@thojnaem
Copy link

Type: Feature Request

I’ve been using Visual Studio Code extensively, and I appreciate the fantastic work you all do. I’d like to propose a feature enhancement related to workspace root folders.

Feature Request: Allow Custom Display Names for Workspace Root Folders

Problem Statement: In a workspace, it’s possible to have multiple root folders. Sometimes, these folders share similar names, which can lead to confusion. Currently, there’s no straightforward way to rename the display name of a root folder without affecting its actual path.

Proposed Solution: I suggest adding a feature that allows users to set custom display names for root folders. This way, we can assign more meaningful and memorable names to our workspace roots without altering the underlying folder structure.

Example: Suppose I have two root folders:

Actual Path: /Users/me/projects/clientA, Current Display Name: “clientA”
Actual Path: /Users/me/projects/clientB, Current Display Name: “clientB”
I’d like to set custom display names like “Acme Corp” for clientA and “Tech Innovators” for clientB. These custom names would only affect how they appear in the VS Code workspace, while the actual folder paths remain unchanged.

Benefits:

Improved clarity: Custom display names reduce confusion when working with similar folder names.
Enhanced productivity: Users can quickly identify workspace roots based on meaningful labels.
Thank you for considering this enhancement. I believe it would be a valuable addition to an already outstanding tool.

Best regards, DPP

VS Code version: Code 1.92.2 (fee1edb, 2024-08-14T17:29:30.058Z)
OS version: Windows_NT x64 10.0.22631
Modes: Unsupported

Copy link

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.95.3. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

@RedCMD
Copy link
Contributor

RedCMD commented Nov 23, 2024

You can do that already
sadly there isn't any gui or instructions on how to do it

you have to manually modify the .code-workspace file
Image

@thojnaem
Copy link
Author

oh Thanks. i didn't tkink it is that easy. i changed the .code-workspaces few times but didnot notice that. would be nicer if Root folder rename is built-in feature, just press F2 or Right-click then Rename

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants