zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
46.89k stars 2.69k forks source link

Manually rename workspace #14563

Open jansol opened 1 month ago

jansol commented 1 month ago

Check for existing issues

Describe the feature

Currently it seems workspaces are named after the last top-level directory or file that has been added to them. This is... confusing when that happens to be say, TODO.md. As a default behaviour it makes sense to name workspaces after their main (and usually only) directory, but for more complicated scenarios I would prefer to give some workspaces a custom name that is entirely unrelated to the directories.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

jansol commented 1 month ago

In the workspace switcher the "name" appears to be a comma-separated list of all top level items, so it's being inconsistent between the title bar button and the switcher, too. (and the switcher lists all top level items anyway so this inconsistency is redundant)