zed/assets/keymaps
Danilo Leal 011113ea3c
workspace: Improve recent projects picker for multi-project scenario (#48989)
Follow-up to https://github.com/zed-industries/zed/pull/46641.

In the PR linked above, I had introduced a dropdown that'd show up in
the title bar when the workspace contained more than one project.
Although that helped improve the multi-project use case, it created some
quirky designs:

- The project dropdown and the recent project pickers looked too
different from one another
- The transition between the 2 project case to the 1 project scenario,
from the dropdown, was not great, because you'd be then seeing the
bigger recent projects picker
- The `workspace: switch project` action was still reachable in the
command palette even if you had one project in the workspace

So, what this PR does is essentially fixing all of this by consolidating
it all in the Recent Projects picker. If you are in a multi-project
scenario, the picker will display a section with all of the projects on
the workspace allowing you to activate each one of them. The picker also
looks simpler when you reach it by clicking on the project name in the
title bar, as opposed to through the keybinding. I've then removed the
project dropdown code as well as the action, given we don't need them
anymore due to the consolidation. Lastly, I tackled the inconsistent
wording used between "Folders", "Projects", and "Workspaces".

Here's the result:


https://github.com/user-attachments/assets/9d8ef3e3-e57b-4558-9bc0-dcc401dec469

- [x] Code Reviewed
- [x] Manual QA

Release Notes:

- Workspace: Improved the recent projects picker by making it also
display active projects in case of a multi-project workspace.
2026-02-12 09:54:33 -03:00
..
linux JetBrains keymap: Add escape key binding to cancel in auto_height mode (#45306) 2026-02-05 09:36:40 +00:00
macos JetBrains keymap: Add escape key binding to cancel in auto_height mode (#45306) 2026-02-05 09:36:40 +00:00
default-linux.json workspace: Improve recent projects picker for multi-project scenario (#48989) 2026-02-12 09:54:33 -03:00
default-macos.json workspace: Improve recent projects picker for multi-project scenario (#48989) 2026-02-12 09:54:33 -03:00
default-windows.json workspace: Improve recent projects picker for multi-project scenario (#48989) 2026-02-12 09:54:33 -03:00
initial.json Add trailing commas to all asset jsonc files following #43854 (#44891) 2025-12-15 15:09:52 +00:00
storybook.json Add trailing commas to all asset jsonc files following #43854 (#44891) 2025-12-15 15:09:52 +00:00
vim.json Implement Vim's tag stack (#46002) 2026-01-15 17:48:15 +00:00