ZIm/crates/zed
Kirill Bulatov 4aabba6cf6
Improve Zed prompts for file path selection (#32014)
Part of https://github.com/zed-industries/zed/discussions/31653
`"use_system_path_prompts": false` is needed in settings for these to
appear as modals for new file save and file open.

Fixed a very subpar experience of the "save new file" Zed modal,
compared to a similar "open file path" Zed modal by uniting their code.

Before:


https://github.com/user-attachments/assets/c4082b70-6cdc-4598-a416-d491011c8ac4


After:



https://github.com/user-attachments/assets/21ca672a-ae40-426c-b68f-9efee4f93c8c


Also 

* alters both prompts to start in the current worktree directory, with
the fallback to home directory.
* adjusts the code to handle Windows paths better

Release Notes:

- Improved Zed prompts for file path selection

---------

Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
2025-06-03 20:35:25 +00:00
..
contents Fix bundle script 2023-11-17 17:44:41 -08:00
resources macOS: Add support for external file managers to open directory in Zed (#26357) 2025-03-10 15:21:39 +05:30
src Improve Zed prompts for file path selection (#32014) 2025-06-03 20:35:25 +00:00
build.rs call: Fix crash when screensharing on MacOS (#28784) 2025-04-15 16:36:08 +00:00
Cargo.toml Disallow running Zed with root privileges (#31331) 2025-05-30 21:22:52 +00:00
LICENSE-GPL chore: Change AGPL-licensed crates to GPL (except for collab) (#4231) 2024-01-24 00:26:58 +01:00
RELEASE_CHANNEL Restore the default release channel (#23671) 2025-01-26 09:19:24 +00:00